Creating Custom Aliases for AutoCAD Commands
Customizing AutoCAD with aliases can significantly speed up your workflow. Here are some common examples of how to create custom aliases for frequently used commands:
Editing the acad.pgp
File
- Locate the File: Find the
acad.pgp
file in your AutoCAD installation directory. - Open the File: Use a text editor like Notepad to open the file.
- Add Aliases: Add lines in the format
*command_alias command_name
to define aliases.
Example:
*L LINE
*C CIRCLE
*D DIMLINEAR
Using the Command Line
- Start the Command: Type
CUI
orCUSTOMIZE
at the command prompt. - Open the Customize User Interface (CUI) Editor:
- Navigate to the Aliases Tab:
- Add a New Alias: Click the “Add” button.
- Enter Alias and Command: Type the desired alias and the full command name.
Example Aliases:
Here are some popular command aliases and their corresponding full commands:
Alias | Command | Description |
---|---|---|
L | LINE | Draw a line |
C | CIRCLE | Draw a circle |
D | DIMLINEAR | Create a linear dimension |
O | OFFSET | Offset objects |
M | MOVE | Move objects |
R | ROTATE | Rotate objects |
S | SCALE | Scale objects |
ER | ERASE | Erase objects |
CO | COPY | Copy objects |
Tips for Creating Effective Aliases:
- Keep it Simple: Use short and easy-to-remember aliases.
- Avoid Conflicts: Make sure your aliases don’t conflict with existing commands or system variables.
- Test Thoroughly: Test your aliases to ensure they work as expected.
- Customize Your Workflow: Create aliases for commands that you use frequently to streamline your workflow.
- Consider Keyboard Shortcuts: Assign keyboard shortcuts to your aliases for even faster access.
By creating custom aliases, you can significantly reduce the time it takes to execute commands and improve your overall efficiency in AutoCAD.