Search found 4 matches
- 27 Jan 2020, 18:31
- Forum: CAD VCL
- Topic: example for adding inserts
- Replies: 1
- Views: 3898
example for adding inserts
In AddEntities example there is a code, that shows how to insert a block. But it uses only attributes. In real draws more common situation is, when there is a set of line/polylines or other entities in a block. How to set scale and rotation for them, and separately from attributes? I want to do seve...
- 09 Jul 2019, 15:43
- Forum: CAD VCL
- Topic: how to get real coordinates for Insertion of a block
- Replies: 3
- Views: 11325
Re: how to get real coordinates for Insertion of a block
better solution - using FPointXMat function. var i: integer; aMatrix: TFMatrix; vStartPoint, vEndPoint: TFPoint; vDXFInsert: TsgDXFInsert; ... aMatrix := vDXFInsert.GetMatrix; for i := 0 to vDXFInsert.Block.Count-1 do begin vStartPoint := FPointXMat(TsgDXFLine(vDXFInsert.Block.Entities[i]).Point, aM...
- 08 Jul 2019, 19:04
- Forum: CAD VCL
- Topic: how to get real coordinates for Insertion of a block
- Replies: 3
- Views: 11325
Re: how to get real coordinates for Insertion of a block
Thanks for reply. I've looked in source of the AddFPoint function. There is nothing about such Insertion parameters as Scale and Angle . May be I need some function that use Matrix property? Block object also has property Offset. Should it be involved in calculations too? Block #1 (24 lines): Offset...
- 05 Jul 2019, 13:48
- Forum: CAD VCL
- Topic: how to get real coordinates for Insertion of a block
- Replies: 3
- Views: 11325
how to get real coordinates for Insertion of a block
There is a lot of insertions of one block in a CADImage. Block contains some set of lines.
How to calculate real coordinates for a specific insertion?
Didn't found example in Demos.
Thanks
How to calculate real coordinates for a specific insertion?
Didn't found example in Demos.
Thanks