PDF download Download Article PDF download Download Article

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!

1

Type "cui" in the command line and press "Enter."

PDF download Download Article
  1. This area lets you create custom commands.
    • This article will show you how to create a command that copies an object in place.
  2. Advertisement
2

Create a new command.

PDF download Download Article
  1. The properties for a new command will expand.
3

Name your command.

PDF download Download Article
  1. Stay consistent with your naming conventions so you always know what each command is for.
  2. Advertisement
4

Edit the macro.

PDF download Download Article
    • "^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.

PDF download Download Article
  1. You can do this by clicking the dots next to "Images" and selecting an icon.
  2. Advertisement
6

Drag the command to a toolbar.

PDF download Download Article

Expert Q&A

Ask a Question
      Advertisement

      Video

      Tips

      • This article was written using AutoCAD 2009. This may or may not work in earlier versions of CAD.
      • The Custom User Interface (CUI) was added in AutoCAD 2006. Therefore, this tip WILL NOT WORK in AutoCAD versions 2005 or older.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • You may become so addicted to creating your own commands and toolbars, that you don't get any work done!
      Advertisement

      Things You'll Need

      • A computer
      • AutoCAD 2006 or newer
      • An idea for a useful command

      About This Article

      Thanks to all authors for creating a page that has been read 112,627 times.

      Is this article up to date?

      Advertisement