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

yang686526 2009-05-04 07:38 PM

【转帖】dimension style-primary units
 
dimension style->primary units
dimension style->primary units
hi!
in acad's dimension style->modify dialog there is a folder primary units, and a combo box unit format. the dimlunit system variable controls the switch of items inside the list of this combo. the appropriate function in dd is dimlunit() to get the integer value, and setdimlunit() to set the value. these functions work fine except the case of fractional units.
it seems that the result of 'setdimlunit(5)' is equal to the result of 'setdimlunit(4)'.
is it a bug?
4 - architectural looks like 1' 2 1/2" - 1 feet 2.5 inches
5 - fractional 14 1/2" 14.5 inches
sergey slezkin


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