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

yang686526 2009-05-04 03:05 PM

【转帖】a diameteric dimension problem when exploding
 
a diameteric dimension problem when exploding
a diameteric dimension problem when exploding
hi,
here i have a diametric dimension problem when exploding. now i use dd 1.10 update 1 in my application.
here have 3 attachment files. 1.dwg is created and explodedfff"> the block with dd in my application. 2.dwg is the file created in my application without explodingfff">. 3.dwg is a file created in solidworks
the following is the code in my application to set the styles of diametric dimensions:
pdiadim->setdimtmove( 2 );
pdiadim->setdimtofl( true );
pdiadim->setdimsd1( false );
pdiadim->setdimsd2( false );
pdiadim->setdimtoh( true );
pdiadim->setdimtix( false );
pdiadim->usesettextposition( );
opening and explodingfff"> 2.dwg in autocad and comparing the dimension look with 1.dwg, we can see the exploding results in dd and in autocad are very different( when exploding with dd, one of the dimension lines disappears). and comparing the diametric dimension in 1.dwg and 3.dwg, we can see that the styles but textmove shown in the code above are the same , but the looks( its meaning is that dimension lines disappear or not) of them are very different. and also we can see that the look of the diametric dimensions in 2.dwg after exploding in autocad is the same as 3.dwg( only means that the dimension lines disappear or not).
i don't know what causes this difference in dd and autocad when exploding. maybe i forgot to set some other members of dimension or dimension style.
best regards
attached files
different exploding results in dd and autocad (disappearing dimension line) are caused by dd bug in 1.10
it's fixed for 1.11 coming soon.
sergey slezkin


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