几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】error rendering dxf drawing (http://www.dimcax.com/hust/showthread.php?t=16112)

yang686526 2009-05-05 09:46 AM

【转帖】error rendering dxf drawing
 
error rendering dxf drawing
error rendering dxf drawing
hi,
i have a dxf file, attached, which throws a code 5, "invalid input" exception when being rendered. more specifically the exception is generated during the following call:
code:
pdevice = oddbgsmanager::setupactivelayoutviews(pdevice, pdwgcontext);
interesingly this drawing also throws an exception when being viewed with voloview, but works fine with autocad 2000 and autocad2004.
how can i render this drawing without the exception being thrown?
sijmen.
attached files
active model space viewport in this drawing has zero length view direction vector. it is fixed if drawing is loaded by recoverfile().
dd 1.13.02 will contain the fix preventing rendering crash in this case.
sergey slezkin


所有的时间均为北京时间。 现在的时间是 05:35 PM.