How to Create a New Command on Autocad

For an example, this article will show you how to create a command that copies an object in place., Open AutoCAD. , Type "cui" in the command line and press enter., Right click in the command list and select "New Command". , Rename your command to...

9 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: For an example

    This will bring up the "Customize User Interface" dialog box. ,,, 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. ,,
  2. Step 2: this article will show you how to create a command that copies an object in place.

  3. Step 3: Open AutoCAD.

  4. Step 4: Type "cui" in the command line and press enter.

  5. Step 5: Right click in the command list and select "New Command".

  6. Step 6: Rename your command to accurately describe what it will do.

  7. Step 7: In properties edit the macro of your new command.

  8. Step 8: Give your New Command an icon if you wish.

  9. Step 9: Put it on existing toolbar or create your own.

Detailed Guide

This will bring up the "Customize User Interface" dialog box. ,,, 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. ,,

About the Author

C

Christopher Martin

Experienced content creator specializing in crafts guides and tutorials.

35 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: