查看单个帖子
旧 2009-05-04, 07:22 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)