![]() |
【转帖】cant load dwg file
can't load dwg file
can't load dwg file dwgdirect can't load the file i have send in the attachment. autocad 2002 and 2005 open it. seems the problem is inside of dd, it throw an exception ("ivalid index") when executes the ddbhostappservices::readfile function: file "exhostappservices.cpp" oddbdatabaseptr exhostappservices::readfile(const odchar* filename, bool ballowcpconversion, bool bpartial, oda::filesharemode shmode, const odpassword& password) { oddbdatabaseptr pres = m_dwgcollection.lookup(filename); if(pres.isnull()) { // this function throws an exeption pres = oddbhostappservices::readfile(filename, ballowcpconversion, bpartial, shmode, password); m_dwgcollection.add(pres.get()); } return pres; } please, check it, if it is dd bug or mine? attached files this is dd bug (dd throws exception as hatch in the file contains invalid loops). regards, sergey vishnevetsky do you plan to fix it in the next version? by the way, old version of my program, which uses odt, can load this file. we fixed this defect on current code. fix will be available in next release/update. sincerely yours, george udov |
所有的时间均为北京时间。 现在的时间是 11:47 PM. |