![]() |
【转帖】dwgdirect gives no oddbrasterimagedef - objec
dwgdirect gives no oddbrasterimagedef - object
dwgdirect gives no oddbrasterimagedef - object i have a problem reading a dwg with an image-entity. oddbdatabase::getnamedobjectsdictionaryid() and oddbrasterimagedef::imagedictionary(m_poddb.get()) both gives no oddbrasterimagedef - object. the 'old' opendwg - lib does this ok with adgetobject(). i send you the dwg as attachment, say if you need the image-file itself. the dwg was created with opendwg (adv63nd.lib). thanx for help, achim attached files the file is invalid: - oddbrasterimage has reference (an image entity’s reactor) to odregapptablerecord instead of acdbrasterimagedefreactor object, - there is a oddbrasterimagedef object in the file, but it is missed in the ownership tree (namedobjectsdictionary does not have reference to "acad_image_dict"). acad can load the file, but after resaving the rasterimage will be empty (oddbrasterimagedef object will be lost). current ddt version can not repair this file. regards, sergey vishnevetsky last edited by sergey vishnevetsky; 24th june 2004 at 04:08 amfff">. ok, i think this will give me a way to solve the problem in the application which creates the dwg. thank you for analysing this one. best regards, achim quote: originally posted by sergey vishnevetsky the file is invalid: - oddbrasterimage has reference (an image entity’s reactor) to odregapptablerecord instead of acdbrasterimagedefreactor object, - there is a oddbrasterimagedef object in the file, but it is missed in the ownership tree (namedobjectsdictionary does not have reference to "acad_image_dict"). acad can load the file, but after resaving the rasterimage will be empty (oddbrasterimagedef object will be lost). current ddt version can not repair this file. in this case, could i get a sourcefilename? oddbrasterimagedef issue... " i have a problem reading a dwg with an image-entity. oddbdatabase::getnamedobjectsdictionaryid() and oddbrasterimagedef::imagedictionary(m_poddb.get()) both gives no oddbrasterimagedef - object. the 'old' opendwg - lib does this ok with adgetobject(). " when are you going to fix this problem? or in this case, could i get the sourcefilename? please help me. if i can get the sourcefilename, i create the new oddbrasterimagedef, and i attach this new object to oddbrasterimage. if i save the dwg file on adobe illustrator, and this file contain some bitmap object. this problem occure. if a file contains raster image but contains no named objects dictionary and imagedictionary the file is invalid. what does autocad's and odamfcapp recover say? a sample file would be helpful. btw, are you sure its raster image entity (a picture can present in dwg as ole object also). sergey slezkin i mean, can i know the sourcefilename (image) in invalid file? dear sergey, when i open the attached file on autocad 2002, acad show the raster image file name. even if the file is invalid, how can i know the name of raster image in opendesign? best regards attached files (800.2 kb, 6 views) both autocad and dwgdirect can't repair this file. in dd you can't get the image file name from such invalid dwg. btw, after the file is resaved by autocad autocad is unable to show raster image file name too. sergey slezkin thanks, i got it. but i can get the filename in the old version - opendwg. hello again. thanks, i got it. but i can get the filename in the old version - opendwg library. can i get the filename of invalid image as like opendwg (old version of dd) ? hello again. but i can get the filename in the old version - opendwg library. can i get the filename of invalid image as like opendwg (old version of dd) ? both autocad and dwgdirect can't repair this file. in dd you can't get the image file name from such invalid dwg. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 07:34 AM. |