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.

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

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

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

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.

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

8 Put it on existing toolbar or create your own.

Good