haplokuon / netDxf

.net dxf Reader-Writer
MIT License
996 stars 405 forks source link

[Question] Any method to obtain Bounding box of a block or DIM Block #152

Open alison84r opened 4 years ago

alison84r commented 4 years ago

Hello Team, I have one question. Is there any way I can get directly bounding box of the BLOCKS, Dimensions or Its respective blocks. Or do I have to calculate? If yes what are the parameters to consider for calculation of bounding box. image image

Let me know if my question is not clear. Thanks in advance.

haplokuon commented 4 years ago

No. There are some entities I cannot calculate it, like Text, MText, and Tolerance; I have no way of measuring strings based in TTF and SHX fonts. Also the Underlay and Shape entities have its size defined by the scale of its original dimensions that comes from the PDF, DWF, DGN, and SHX file.

LeiYangGH commented 1 year ago

unfortunately!