高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】problems while reading the image dictionary
problems while reading the image dictionary
problems while reading the image dictionary
i have som difficulties to read the image dictionary in a drawing.
i retrieve a proxy object while iterating the image dictionary and it's a acdbrasterimagedef class.
isn't this the corresponding opendwg class oddbrasterimagedef??
how do i read this information??
// dump from drawing
pobject->isa()->name()=<acdbproxyobject>
pdiciter->name()=<xxx>
pproxyobj->originalclassname()= <acdbrasterimagedef>
pproxyobj->originaldxfname()=<imagedef>
thanks in advance
additional info:
the problem only occurs the first time a read the drawing. if i read the same drawing again within the same session i get an acdbrasterimagedef instead of an acdbproxyobject.
why is it so. have i failed with an initialization or is this a bug??
pproxyobj->originalclassname()=<acdbrasterimagedef& gt; pproxyobj->originaldxfname()=<imagedef>
sorry for not detecting this before i wrote my first post
thanks in advance (again)
i failed to reproduce the situation. does it happen with all dwg/dxf files? does it take place if a drawing is loaded with odamfcapp (what type of object is listed in acad_image_dict)? could you send me a drawing illustrating the problem?
sergey slezkin
|