haplokuon / netDxf

.net dxf Reader-Writer
MIT License
1.01k stars 411 forks source link

Insert entity #237

Open zchoi opened 3 years ago

zchoi commented 3 years ago

I have just started contacting dxf files, can we read out the coordinates of the entity in the insert, for example,some lines' startpoint and endpoint?

haplokuon commented 3 years ago

There is no specific functionality for that, but all the necessary tools are there. To get the entities of a block in world coordinates they need to be transformed by the transformation matrix of the insert, take a look at the Insert's method Explode().