几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】problems saving drawings with dwgdirect 1.09 9updated0 (http://www.dimcax.com/hust/showthread.php?t=18206)

yang686526 2009-05-06 11:48 PM

【转帖】problems saving drawings with dwgdirect 1.09 9updated0
 
problems saving drawings with dwgdirect 1.09 (updated)
problems saving drawings with dwgdirect 1.09 (updated)
i'm writing an application that will substitute blocks in drawings, but i encounter some problems while saveing the drawings (2 of 50 tested).
the savefile() doesn't throw an exception and all seems to be ok, but the resulting file has 0 bytes.
i have no trouble loading and processing items in the drawings
i've tried to do an audit before writing the file, and also i tried to open the drawings with recoverfile() instead of readfile() but the result file was still 0 bytes.
the first (of the failing) drawings is a version 14 drawing (ac1014) and the second one is a version 9? drawing (ac1009)
thanks in advance
perhaps there is an issue with those drawings - can you send them to me at
files sent to


所有的时间均为北京时间。 现在的时间是 12:26 AM.