Follow the steps below to create a New Command in Autocad

1 For an example, this article will show you how to create a command that copies an object in place.

2 Open AutoCAD.

Image titled Create a New Command on Autocad Step 2

3 Type “cui” in the command line and press enter. This will bring up the “Customize User Interface” dialog box.

Image titled Create a New Command on Autocad Step 3

4 Right click in the command list and select “New Command”.

Image titled Create a New Command on Autocad Step 4

5 Rename your command to accurately describe what it will do.

Image titled Create a New Command on Autocad Step 5

6 In properties edit the macro of your new command.The “copy in place” command has this macro: “^C^C_copy 0,0 0,0″”^C” is cancel or the equivalent of pressing the Esc key. Always start your command with two ^C in front to exit any commands you may be in.”_copy ” initiates the copy command. A space will do the same as pressing spacebar in the command line.The copy command then asks for a base point, and our macro inputs 0,0.To copy in place we then specify 0,0 for the point we copy to.

Image titled Create a New Command on Autocad Step 6

7 Give your New Command an icon if you wish. 8 Put it on existing toolbar or create your own

Image titled Create a New Command on Autocad Step 7

8 Put it on existing toolbar or create your own.

Image titled Create a New Command on Autocad Step 8
0
Would love your thoughts, please comment.x
()
x