高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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!
|