ellen finkelstein logo

Ellen Finkelstein.com
AutoCAD PowerPoint About Links
       

Over 165 AutoCAD tips and tutorials!

AutoCAD Tips
AutoCAD Tips Blog

Get a free dynamic block tutorial and free AutoCAD tips!


RSS: What is it? Why do I want it? How do I get it?

Add to My Yahoo!
Subscribe with Bloglines

Buy a Book

E-mail This Page 
to a Friend

Submit a tip! If you include your name and I post your tip, I'll give you credit.

AutoCAD Tips & Tutorials

Tutorial: Create a command alias (keyboard shortcut)

Many people like to use the keyboard to enter commands, but some of the commands are long, hard to type, or difficult to remember. You can create keyboard shortcuts for commands, such as DL for DIMLINEAR or RVC for REVCLOUD.

AutoCAD comes with a large number of aliases already made for you. You edit the acad.pgp file to add to these, or change them.

The acad.pgp file is a text file and you can edit it directly, but the easiest way is to use the Express Tools ALIASEDIT command.

Follow these steps:

  1. Choose Express > Tools > Command Alias Editor.

  1. After deciding the command and alias you want, check to see if the command already has an alias. Click the AutoCAD Command column to alphabetize the list by commands. Scroll to look for the command.
  2. If it doesn't have an alias, check to see if the alias is already in use. To do so, click the Alias column to alphabetize that column. Click any alias, and type the first letter of the alias to jump to aliases starting with that letter. Look for the alias.
  3. If your command isn't listed and your alias isn't being used, click Add.

  1. Type the alias in the Alias text box and the AutoCAD command below it. All the commands are on the list, and as you start to type, the command appears on the list. You can click it as soon as you see it, or type the entire command. For example, I added rvc for REVCLOUD. Click OK.
  2. If your command is on the list, but your alias isn't, you can add the alias for the command. As before, click Add, enter the alias, and specify the command. A command can have more than one alias. I added dl for DIMLINEAR, even though there were other aliases for that command.
  3. If your alias is being used, you can delete or change it. Then you can use it for a different command. For example, rc is the alias for RENDERCROP, which you might rarely use. By deleting it, you could use rc for RECTANG. To delete an alias, select it and click Remove, then click Yes to confirm.
  4. You can change an existing alias. For example, you might want to change the alias for RENDERCROP to rencr, instead of deleting it. To do so, choose the alias, and click Edit. In the Edit Command Alias dialog box (which looks just like the New Command Alias dialog box), enter the new alias and click OK.

Note: You might be surprised to see some aliases on the list that are longer than their commands! Or completely different. AutoCAD uses this to map one command to another or to include command names that don't exist, but that people might still use. For example, the RECTANG command has an alias of rectangle.

Tip: To print the alias list, choose File > Print from the AutoCAD Alias Editor's menu.

  1. When you're done, click OK. If the Confirm Changes dialog box is checked, you get a message asking you to confirm that you want to replace the configuration file (acad.pgp). Click Yes.

  1. AutoCAD doesn't recognize the change right away, because it doesn't re-check the acad.pgp file during a session. You could close and re-open AutoCAD, but there's an easier way. On the command line, enter reinit.

  1. Check the PGP File check box and click OK. Now your new aliases will work. Try them out!

Note: You can edit the acad.pgp file directly. It's in the Support folder. To find that folder, choose Tools > Options and click the Files tab. Double-click the Support File Search Path item and look at the first item. This file contains a User Defined Command Aliases section at the end where you can add your own aliases; these aliases override those in the main section. Use the same format as you see in the file, which is Shortcut,*Full_command_name. Save the file and use the REINIT command as just described.

 

More Tips

+

101 Tips

Page copy protected against web site content infringement by Copyscape

Books by Ellen

New!
AutoCAD 2009 and AutoCAD LT 2009 Bible

This is the 9th edition of this book! Completely updated to conform to the new interface and, of course, it covers all the new features, such as the ribbon, Quick View, ShowMotion, the View Cube, the SteeringWheel, and more.

AutoCAD 2008 and AutoCAD LT 2008 Bible
Learn the great new features with wide application to all disciplines. Get the most comprehensive book on AutoCAD! DVD contains a 30-day trial of AutoCAD and AutoCAD LT. Thorough exercises guide you through each feature.

AutoCAD 2007 and AutoCAD LT 2007 Bible 
Discover the 2007 features, especially the radically improved 3D tools. CD has AutoCAD 30-day trial, 3rd-party software, and drawings for exercises.

AutoCAD 2006 and AutoCAD LT 2006 Bible 
Understand and use the 2006 features, including dynamic blocks and the new method of customizing menus and toolbars. CD-ROM has AutoCAD trial, software, and drawings for all exercises.


AutoCAD 2005 and AutoCAD LT 2005 Bible
Fully explains latest 2005 features:  tables, fields, and sheet sets. For the first time, covers AutoCAD LT! CD-ROM comes with software and drawings for all exercises.


AutoCAD 2004 Bible

Covers all features in detail. Hands-on exercises. Over 1300 pages + CD-ROM with software and drawings for all exercises.

                                  Home  |  AutoCAD  |  PowerPoint  | E-StoreAbout  | Links | Contact | Site Map
Copyright Ellen Finkelstein, Inc.