查看单个帖子
旧 2009-05-05, 10:10 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】explode produces invalid execution

explode produces invalid execution
explode produces invalid execution
greetings,
i have an autocad dwg version ac1015 with many blockreference and proxyentity entities defined. in my code i have to explode these to get at whatever has been hidden inside.
here's my problem: on all my other test dwg files, when i explode a block, oddb2dpolyline and oddb3dpolyline are processed correctly. however, when i explode a block or proxy entity in this particular drawing, i can get the start point without problem, but when i call getendpoint() i recieve a "expression: invalid execution" at line 135 of "file: source\database\dbobjectiterator.cpp". (version dd1.12) in the vc6mdd library.
the stack shows:
_assert()
odassert()
oddbnondbroobjectiteratorimpl:bjectid()
oddb2dpolyline::getendpoint()
any ideas?
al
as a result of dd bug getendpoint in 2d and 3d polyline does not work for non-database-resident objects.
you can use vertex iterator in your case.
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)