Controlling the Number of Decimals Used in a Text Macro
| Reference Number: KB-01897 Last Updated: 07-30-2014 08:13 AM
The information in this article applies to:
I would like to use the Room Volume text macro in my room labels, but it displays four decimal points. How can I make it display fewer decimal places?
By default, many text macros are set up to display up to four decimal places, but you can easily reduce the number of decimal places used by creating a custom text macro.
To specify the number of decimal places used by a macro
- Open the plan in which you would like to modify the number of decimal places used by a text macro.
- Select CAD> Text> Text Macro Management from the menu.
- In the Text Macro Management dialog:
- Locate and select the name of the macro you would like to customize.
- Notice that the Macro Value displays for reference.
- Click the Copy button.
- In the Edit Text Macro dialog, which opens next:
- Type a short, descriptive Name for your new custom macro.
- Notice that the Value is the same as the Macro Value that displayed for the original macro.
- Click in the Value text field and use your right arrow key on your keyboard to move your cursor to the end of the text.
When your mouse cursor is blinking at the end of the text:
- If any lines of text in the Value are too long to fit in the dialog, you can use the scroll bar at the bottom of the text field to scroll to the right.
In the Text Macro Management dialog, notice that your new macro is included in the list, then click Done.
- Press the Enter key on your keyboard once.
- Type vol.round(#) - where # is the number of decimal places you want to use.
- Click OK to close the dialog and apply your change.