Original Tip Date: Sep 1, 2006
Applicable to MicroStation version 08.05.02.35
With many thanks to Bentley's Lynn Winkler for sharing this tip. In AutoCAD you can suppress the zero for feet and/or inches in the Dimension Style dialog. For example, a line that measures 12' will be dimensioned as 12' rather than 12' 0". In MicroStation V8, you can adjust the display of a zero subunit with the following keyin: mdl load calculat; calculator mdlDimStyle_setBoolIntProp (mdlDimStyle_getActive (), X, 1078) Where: X = 1 to show the subunit even if it is zero. X = 0 to hide the subunit if it is zero. And, if you really want to...you can adjust the display of zero master units with the following keyin: mdl load calculat; calculator mdlDimStyle_setBoolIntProp (dgnDimStyle_getActiveFromModelRef (0), X, 1041) Where: X = 1 shows the master unit value even if it is zero. X = 0 hides the master unit value if it is zero. Note: These keyins will change the active dimension setting, but will not change any existing dimensions in the file. To do so, use Change Dimension to update the existing dimensions to the current setting. Note: In MicroStation 08.09.03.xx simply navigate to the Advanced tab of the Dimension Styles dialog. Then go to Units > Primary and toggle both Show Zero Master Unit and Show Zero Sub Unit
AskInga Tip #667