2012
Table Of Contents
- Contents
- Basic Customization
- Custom Linetypes
- Custom Hatch Patterns
- User Interface Customization
- Understand User Interface Customization
- Work with the Customize User Interface (CUI) Editor
- Create and Manage Customization Files
- Customize Commands
- Customize User Interface Elements
- Customize Workspaces
- Transfer and Migrate Customization
- Customize User Interface (CUI) Editor FAQs
- DIESEL
- Slides and Command Scripts
- Migrate and Transfer Custom Settings and Files
- Index
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
_
Starts the CIRCLE commandCommandCIRCLE
Creates a pause for the user to specify
the center point
Special control char-
acter
\
Responds to the prompt for the circle's
radius (1)
Special control char-
acter
1
For a list of special control characters that you can use in macros, see
Use
Special Control Characters in Macros
on page 104.
Cancel Running Commands
Make sure that you have no AutoCAD LT commands in progress before you
execute a macro. To automatically cancel a command before executing a
macro, enter ^C^C at the beginning of the macro (which is the same as pressing
ESC twice). Although a single ^C cancels most commands, ^C^C is required to
return to the command prompt from a dimensioning command and ^C^C^C
is required based on the current option of the -LAYER command. ^C^C handles
canceling out of most command sequences and therefore is the recommended
sequence used to ensure no command is active before the macro is started.
Verify Macro Characters
Every character in a macro is significant, even a blank space.
When you place a space at the end of the macro, AutoCAD LT processes the
macro as though you had entered a command (circle, for example) and then
pressed the Spacebar to complete the command.
102 | Chapter 4 User Interface Customization