Explore this Article
X
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 14 people, some anonymous, worked to edit and improve it over time.
This article has been viewed 101,852 times.
Learn more...
Ever used the same AutoCAD command over and over again? Wish there was an easier way? There is! Follow these simple steps to create a button on the toolbar that does most of the typing for you!
Steps
1
Type "cui" in the command line and press "Enter."
2
Create a new command.
3
Name your command.
4
Edit the macro.
-
For our sample "copy in place" command, we have specific 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.
5
Add an icon.
6
Drag the command to a toolbar.
Warnings
- You may become so addicted to creating your own commands and toolbars, that you don't get any work done!⧼thumbs_response⧽
Advertisement
Things You'll Need
- A computer
- AutoCAD 2006 or newer
- An idea for a useful command
You Might Also Like
![Convert an AutoCAD File to PDF](./images/1986736217--crop-342-184-245px-Convert-an-AutoCAD-File-to-PDF-Step-22.webp)
How to
Convert an AutoCAD File to PDF
![Scale in AutoCAD](./images/2162173678--crop-342-184-245px-Scale-in-AutoCAD-Step-13.webp)
How to
Scale in AutoCAD
![Check an AutoCAD Serial Number](./images/2315268368--crop-342-184-245px-Check-an-AutoCAD-Serial-Number-Step-11.webp)
![Use AutoCAD](./images/381821919--crop-342-184-245px-Use-AutoCAD-Step-18.webp)
How to
Use AutoCAD
![Set up an AutoCAD Drawing](./images/3278515679--crop-342-184-246px-Set-up-an-AutoCAD-Drawing-Step-16.webp)
How to
Set up an AutoCAD Drawing
![Import Xyz Coordinates from Excel to AutoCAD](./images/1177566357--crop-342-184-245px-Import-Xyz-Coordinates-from-Excel-to-AutoCAD-Step-10.webp)
![Activate AutoCAD](./images/3337824262--crop-342-184-245px-Activate-AutoCAD-Step-31.webp)
How to
Activate AutoCAD
![Open DGN Files in AutoCAD on PC or Mac](./images/985216191--crop-342-184-245px-Open-DGN-Files-in-AutoCAD-on-PC-or-Mac-Step-8.webp)
How to
Open DGN Files in AutoCAD on PC or Mac
![Learn CAD Design](./images/1071720108--crop-342-184-219px-Learn-CAD-Design-Step-7.webp)
How to
Learn CAD Design
![Open IPT Files](./images/3690474514--crop-342-184-245px-Open-IPT-Files-Step-4-Version-2.webp)
How to
Open IPT Files
![Open DXF Files](./images/3578014712--crop-342-184-245px-Open-DXF-Files-Step-5-Version-2.webp)
How to
Open DXF Files
![Create a Gear Assembly Using Siemens NX 12](./images/3416599989--crop-342-184-301px-Completed-Gear-Assembly-final.webp)
How to
Create a Gear Assembly Using Siemens NX 12
![Customize Your System Setup for DraftSight](./images/287589062--crop-342-184-245px-Customize-Your-System-Setup-for-DraftSight-Step-5-Version-2.webp)
How to
Customize Your System Setup for DraftSight
![Write and Load a Script File in AutoCAD](./images/444675849--crop-342-184-243px-Write-and-Load-a-Script-File-in-AutoCAD-Step-6.webp)
How to
Write and Load a Script File in AutoCAD
Advertisement
About This Article
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 14 people, some anonymous, worked to edit and improve it over time. This article has been viewed 101,852 times.
How helpful is this?
Co-authors: 14
Updated: March 8, 2023
Views: 101,852
Categories: CAD Software
Advertisement