![]() |
【转帖】save As Dwg Problem
save as dwg problem
save as dwg problem hi, i used the following code to save an existing dwg file as a new one. odstreambufptr pfile = theapp.createfile(odstring(szpathname),oda::kfilew rite,oda::ksharedenyno,oda::kcreatenew); m_database>writefile(pfile,oddb::kdwg,od_version,t rue) the old file is in oddb::kdhl_1015 ( 2000) file format the new file size has reduced significantly. some of the acdbvariabledictionary objects are missing in the new file. also the thumbnail preview is lost. i have tried the setthumbnailbitmap() to reenable the thumbnail into the new file, but it is not working. then i saved this dwg file ( one with reduced size and no thumbnail) as a new dwg file and this file has not lost any data. can anyone enlighten me why these problems occur . are there any methods to solve them? thanks.-- abhi |
所有的时间均为北京时间。 现在的时间是 02:29 AM. |