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

yang686526 2009-05-04 06:29 PM

【转帖】crash in oddbdimensiongetdimstyledata
 
crash in oddbdimension::getdimstyledata
crash in oddbdimension::getdimstyledata
im using 1.10 version. when i read the block definition of block name aid22569, i find 3 rotated dimensions.
calling getdimstyledata crashes.
please let me know if this is a dd bug and whether it has been fixed in 1.11
thanks
-prem
attached files
dd 1.11 crashes in getdimstyledata() for 3-rd of your dimensions. the reason: the dimension has dimstyle override (dimstyle xdata) for dimjust variable which should be int16. and the value is stored as double.
we'll try to handle such situation but the file is incorrect.
sergey slezkin
yes, the file might be incorrect, but these kinds of file could have been created from some write process.
can i expect this bug fix for 1.12?
yes. but handling all possible defects in invalid files hardly can be achieved in forseeable future.
sergey slezkin


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