2011

Table Of Contents
Quick Reference
Commands
CUI
Manages the customized user interface elements in the product.
Create Macros
A macro defines the action that results when an interface element is selected.
A macro accomplishes a drawing task that would otherwise take a series of
actions by a user.
Overview of Macros
A macro can contain commands, special characters, DIESEL (Direct
Interpretively Evaluated String Expression Language) or AutoLISP programming
code.
You add macros to interface elements by using the Customize dialog box.
Select an existing command or create a new command in the Commands list
on the Commands tab. Enter a macro in the Macros text box under the
Properties section. There are no length limitations for macros. However, you
do need to know how specific characters are used in macros and be aware of
other considerations or limitations.
Macro Basics
A macro in a user interface element can be as simple as a command (such as
circle) and some special characters (such as ^C^C).
For example, the macro ^C^C_circle \1, draws a circle with a radius of 1 unit.
The components that define this macro are explained in the table below.
Components in CIRCLE macro
ResultComponent typeComponent
Cancels any running commandsSpecial control char-
acter
^C^C
Automatically translates the command
that follows into other languages
Special control char-
acter
_
Create Macros | 47