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