Design Master Command Aliases
How do I create command aliases (i.e., keyboard shortcuts) for Design Master HVAC commands in AutoCAD?​
Command aliases are controlled by a .pgp file, which must be edited to include additional commands. To add Design Master HVAC command aliases to your .pgp file, follow the steps below.
-
At the command line, enter
(findfile "acad.pgp")
to find where your .pgp file is located; its location will be displayed at the command line. -
Using Windows Explorer, navigate to the file location, then open the .pgp file using a text editor such as Notepad.
-
Scroll down through the file until you find a User Defined Command Aliases heading; you'll enter your aliases below this heading.
-
In AutoCAD, run a Design Master HVAC command for which you want to create an alias. The command name will appear at the command line (e.g.,
dm_hvac-insertduct
). -
At the end of your .pgp file, enter a command alias using the following format (you can add multiple spaces between the , and * to organize your aliases into columns):
DU, *dm_hvac-insertduct
-
Repeat steps 4 and 5 for any other command aliases you want to add, then save and close the .pgp file.
-
Run the AutoCAD REINIT command to reload the .pgp file.
Using the above examples, you should now be able to run the DU
at the command line.