Creating shortcuts for custom commands in AutoCAD for MAC

So, you have several custom AutoLISP routines. How can you assign them keyboard shortcuts for quick access these commands in AutoCAD for MAC?

There are at least two ways: first – by adding a command aliases in ACAD.PGP file and the second – by assigning hot keys to menu items via MAC System Preferences.

If you want to assign to your command “letter” keyboard combination, you can use

Method 1

You can edit command aliases (menu Tools -> Customize -> Edit Command Aliases (PGP)…) with TextEdit. Format for aliases in ACAD.PGP file (eg “shortcut”):
<Alias>,*<Full command name>
The following are guidelines for creating new command aliases.
1. An alias should reduce a command by at least two characters.
2. Try the first character of the command, then try the first two, then the first three.
3. Once an alias is defined, add suffixes for related aliases:
Examples: R for Redraw, RA for Redrawall, L for Line, LT for Linetype.
So, if your custom command has the name SETDWG, you can assign to it the alias “SD”:
“SD, * SETDWG” – this way it will look in the ACAD.PGP file.
After you make changes to PGP file – save it, exit TextEdit, and in AutoCAD select “Tools -> Customize -> Reload Command Aliases (PGP).
I want to note that if you want to use this method, you need to make your custom routines automatically loaded every time you open a file or create a new one. For more details on this you should look in the Help section “Overview of AutoLISP Automatic Loading“.


If you want to assign a keyboard shortcuts that includes letters plus modifier keys (Ctrl, Option, Command, Sift), you can use

Method 2

1. First, using the command CUI add your command to the pull-down menu (you can use the existing pull-down menus, or you can create your own). Learn how to add your own commands, please read the help section “User Interface Customization

2. Once your command has appeared in the pull-down menu – go to Keyboard pane of the System Preferences. Here in “Keyboard Shortcuts” tab you should select Application Shortcuts (a), click on “+” (b), pick from drop-down list ( c), enter the exact name of the menu item for your command (d), press the shortcut (f), click Add (g).

3. Now in the AutoCAD pull-down menu, just after your command, you will see the keyboard shortcut that you can safely use.

4. Don’t forget about autoloading your routines.

Hapy shortcutting!


One Response to “Creating shortcuts for custom commands in AutoCAD for MAC”

  1. […] in AutoCAD for MAC? YES it is possible! Part two (advanced) In my previous post, dedicated to creating and editing keyboard shortcuts in AutoCAD for MAC I told how this can be done by using the capabilities of the operating system. In fact, there is […]

Comments are closed.

%d bloggers like this: