查看单个帖子
旧 2009-05-04, 07:38 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)