![]() |
【转帖】parts fail to create database
parts fail to create database
parts fail to create database hello, the two parts in the attched zip file throw an unknown exception when using odreadex. both parts can be loaded into autocad 2004. code: try { // create a database and load the drawing into it. pdb = _svcs.readfile( strfilename.c_str(), false, false, oda::ksharedenyno ); if (!pdb.isnull()) { of << "file version: " << pdb->originalfileversion() << std(endl); oddb::measurementvalue odunits = pdb->getmeasurement(); dbdumper dumper; dumper.dump(pdb, &_svcs, of); } } catch (oderror& e) { of << "dwgdirect error: " << _svcs.geterrordescription(e.code()).c_str()<< "\n" << std(endl); } the output of the catch statement is :- quote: developed using dwgdirect, version 1.10 dwgdirect error: invalid input can anyone offer any help? regards derek. attached files your files contain invalid value for luprec variable. next release will contain the fix allowing loading of such files. sergey slezkin thanks for info and the prompt reply sergey. my part also errors out with "invalid input" message mchihds...sorry to hijack the thread... sergey, i have the same problem with my attached file. is it due to the same problem as mcjihds's sample parts? attached files (377.3 kb, 3 views) the problem is different - invalid color index in a few objects. recover also shows other errors. dd 1.11 to be released tomorrow or early next week loads and recovers your file. sergey slezkin thanks sergey. |
所有的时间均为北京时间。 现在的时间是 11:40 AM. |