AutoCAD - Macros
AutoCAD - Macros
Command macro strings are used to instruct AutoCAD which commands and system variables to
execute along with any expected input allowed at the Command prompt. Special characters, DIESEL
expressions and AutoLISP programming code can also included in a command macro string.
You can create custom command macro strings that allow help to:
Reduce repetitive tasks
Enforce CAD standards
Simplify workflows
ACTION MACROS
Action macros are a series of actions (commands) that you record and can be played back in an
active drawing. You use the Action Recorder to save the commands as an action macro (. ACTM file).
Using action macros can really increase productivity by automating repetitive tasks.
MACROS SPECIAL CHARACHTER
The following list is the most used special characters in command Macro Strings:
DESCRIPTION CHARACTER
; Semi‐colon
Enter
^M
Tab ^I
Pauses for user input (allows the user to enter a value, specify a
\ Backslash
point, or select objects)
BACKSPACE ^H
1. COMMAND: CIRCLE
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]:
Specify radius of circle or [Diameter] <2.5000>: 5
Here is what the final command macro string might look:
^C^C_CIRCLE;\10;
2. COMMAND: POLYGON
Enter number of sides <4>: 6
Specify center of polygon or [Edge]:
Enter an option [Inscribed in circle Circumscribed about circle] < C >: I
Specify radius of circle: 10
Here is what the final command macro string might look:
^C^C_POL;6;\I;10;
Reference: www.Autodesk.com