高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|