高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】access violation on oddb3dpolyline
access violation on oddb3dpolyline
access violation on oddb3dpolyline
hi,
i am trying to access vertices in a oddb3dpolyline but getting access violation. here is how i am trying to use:
oddb3dpolylineptr ppline = id.safeopenobject();
oddbobjectiteratorptr it = ppline->vertexiterator();
it->start();
oddb3dpolylinevertexptr vert = ppline->openvertex(it->objectid(), oddb::kforread);
it gives me access violation on the last line. i don't know what am i missing here.
thanks for your help.
may it happen that you attempt to open more vertices than polyline has? how do you check for end?
are erasing/replacing/modifying vertices?
sergey slezkin
|