Special characters used in macros
Character Description
Turns command versioning on or off. Command versioning is required
for some commands to ensure command macros written in an older
release work properly in the latest release.
^R
^T Turns tablet on or off (equivalent to Ctrl+T)
^V Changes the current viewport
Null character that suppresses the automatic addition of SPACEBAR
at the end of a command
^Z
Quick Reference
Commands
CUI
Manages the customized user interface elements in the product.
TEXT
Creates a single-line text object.
Pause for User Input in Macros
To accept input from the keyboard or pointing device in the middle of a
command, place a backslash (\) in the macro at the point where you want
input.
circle\1
In the circle example, \1 pauses for the user to specify the center point and
then reads a radius of 1. Note that there is no space after the backslash.
-layeroff \;
In this example, the macro starts -LAYER at the command prompt, enters the
Off option (off), and then pauses for the user to enter a layer name (\). The
macro then turns that layer off and exits the -LAYER command (;).
106 | Chapter 4 User Interface Customization