![]() |
【转帖】determine world space limits of a dwg
determine world space limits of a dwg
determine world space limits of a dwg hi, making slow progress in integrating directdwg into my own applications i come across the problem of determining the extents of the contents of a dwg in world space (wcs). how can this be achieved? regards, jeroen posch. got it... i found out how to enumeratie through all entities in the dwg, that gives me the extents. if you know of a faster way to do this please advise... regards, jeroen. oddbblocktablerecord::getgeomextents() called for layout block will return extents without taking invisible/frozen layers into consideration. if you need extents of visible entities only you can use odabstractviewpe::viewextents() method. it can be used for all view-related classes: viewport entities, viewtablerecord, viewporttablerecord. sergey slezkin thanks!! thanks sergey, that works a lost faster! |
所有的时间均为北京时间。 现在的时间是 01:27 AM. |