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...
Step-by-Step Guide
-
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. ,, -
Step 2: this article will show you how to create a command that copies an object in place.
-
Step 3: Open AutoCAD.
-
Step 4: Type "cui" in the command line and press enter.
-
Step 5: Right click in the command list and select "New Command".
-
Step 6: Rename your command to accurately describe what it will do.
-
Step 7: In properties edit the macro of your new command.
-
Step 8: Give your New Command an icon if you wish.
-
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
Christopher Martin
Experienced content creator specializing in crafts guides and tutorials.
Rate This Guide
How helpful was this guide? Click to rate: