![]() |
【转帖】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 |
所有的时间均为北京时间。 现在的时间是 03:33 AM. |