Automate repetitive tasks and increase drafting speed using aliases and custom macros.
π What Youβll Learn
In this lesson, you’ll explore how to speed up your workflow by:
Using and customizing command aliases (keyboard shortcuts)
Creating macros to perform multiple actions with one click
Applying macros to buttons, palettes, and ribbons
Managing and sharing your customizations
π§ Why It Matters
Custom aliases and macros help reduce keystrokes, save time, and remove repetitive stepsβperfect for anyone working in a production-heavy environment or looking to streamline their drafting process.
π οΈ Tools Youβll Use
Tool / Feature
Description
ALIASEDIT or acad.pgp
Edit or create keyboard shortcuts for AutoCAD commands
CUI (Customize User Interface)
Interface for assigning macros to toolbars, ribbons, and menus
Macros
Command strings that automate multi-step tasks
Command line scripting
The syntax used to build a macro
π§ Lesson Structure
1οΈβ£ Understand Command Aliases
Open ALIASEDIT or manually edit acad.pgp file
Example: Set L for LINE, C for COPY
Reload aliases with REINIT or restart AutoCAD
Tip: Keep frequently used commands under two keystrokes!
2οΈβ£ Create Custom Aliases
Add new alias: TP, *TOOLPALETTES
Avoid duplicate entries to prevent conflicts
Test changes by typing aliases on the command line
3οΈβ£ Learn Macro Basics
Syntax: series of command-line entries
Use semicolons ; to represent [Enter]
Example: ^C^Czoom;extents;regen; β zooms to extents and regens view
4οΈβ£ Apply Macros to Interface
Open the CUI Editor
Add macros to:
Ribbon Buttons
Tool Palettes
Right-click Menus
Add tooltips and icons to clearly label functions
5οΈβ£ Organize and Share Custom Settings
Save customized CUI as .cuix
Back up your modified acad.pgp and share across users