Categories

AutoCAD 2015 and AutoCAD LT 2015 BibleAutoCAD 2015 and AutoCAD LT 2015 Bible

The most comprehensive AutoCAD book around!

Creating Custom Toolbar Buttons

(For AutoCAD 2005 and earlier. For AutoCAD 2006 and later, click here.)

Any time you would like a custom version of an AutoCAD command, you can create a toolbar button for it. It’s very easy to do and will greatly enhance your ease of work and efficiency.Let’s say that you often fillet multiple sets of lines and want to make the mUltiple option the default.

(For the macro, see my tip, Changing Multiple Options of Commands)

Here are the steps:

  1. Back up your AutoCAD menu files. To find these files, start the OPTIONS command and click the Files tab. Double-click the Menu, Help, and Miscellaneous File Names item to find the location.
  2. Choose Tools>Customize>Toolbars.
  3. Click New. Name your toolbar (something short and simple) and click OK. You now see a small toolbar on the screen.
  4. Usually, you can start from an existing toolbar button. Press and hold down the Ctrl key and drag any button to the new toolbar. (Holding down Ctrl copies the button instead of moving it.) You can also click the Commands tab of the Customize dialog box and choose a command from the list.
  5. To start from scratch, choose User Defined from the Categories list and then drag the User Defined Button to your new toolbar. Click the button to display its properties. In the Macro Associated with This Button box, enter the macro. Most macros start with ^C^C to cancel any existing command. For information on macro format, go to Tutorial: Create a Custom Command.
  6. Click Apply, then click Close to close the Customization dialog box.
  7. Try out your new button. If you need to edit it, re-open the Customization dialog box and click the button to display its macro.

Did you find this tip helpful?
Don't miss new tips!

Plus get a free Dynamic Blocks tutorial

Enter your name and email below

10 comments to Creating Custom Toolbar Buttons

  • FARSHAD

    Hi

    How can I make custom Icon for my Toolbar Menus in autocad?

    Thank you.
    Farshad

  • Maqsood

    Hi,
    How can I make customize Icon for my Toolbar Menus in autocad 2006?

  • Rob

    Hello,
    Is there a way to give a toolbar button either a ‘depressed’ or ‘gray’ appearance when turned on or off?

    Regards

  • Philip

    I have a customized menu in AutoCAD 2000 where I add two custom menu to the default autocad 2000 menu.My original Lisps in 2000 works also in 2012 via LOAD Application. My previous menu loads my lisps commands. Now I am using acad 2012, how to add my two v2000 menu to autocad v2012? or create a separate toolbar menu?.

    Also how do I edit the autocad 2012 default short cut command, eg from “C=Circle” to “C=Copy” etc… or add in additional custom commands?

    Appreciate for help

    Thank you

  • Jackie

    Hi Ellen,
    I just received ACADLT 2014 and I am switching from 2005.
    I am trying to use the classic version and custom make my templates to look like the old program. I have made three new templates where I copied commands in the same order I had on 2005. The problem is that after finishing the button images do not show. If I am in the CUI I can see all images but they did not transfer to my templates. Can you please what should I do ? Thanks much.

  • Satheesh

    Hi,

    I just received AUTO CAD 2015. In this I am making drawing but in this main menu bar is not coming like (Home, Inset, Annotate, parametric, etc…). Please can you suggest me how to do for this.

    Regards,
    Satheesh.

  • Hello,
    Is there a way to give a toolbar button either a ‘depressed’ or ‘gray’ appearance when turned on or off?

    Regards

  • Hans Graveman

    Jackie
    Preserving CustomToolbars

    When you create, or edit, your toolbars for AutoCAD the changes, or new toolbars, are written into your ACAD.MNS file (assuming your menu file is ACAD.MNU). As soon as you recompile your ACAD.MNU, AutoCAD will write over these changes when it creates a new MNC, MNR and MNS file for the associated ACAD.MNU. To preserve your new, or customized, toolbars follow these easy steps:

    Using any text editor (Notepad or Write will work) open up the
    ACAD.MNS, or whatever menu’s associated MNS file you are
    using.
    Use the SEARCH or FIND utility to go to the TOOLBARS section of
    the ACAD.MNS. The Toolbars section starts with the following
    couple lines:

    ***TOOLBARS
    **STANDARD_TOOLBAR
    **TB_STANDARD_TOOLBAR
    Go to the toolbar(s) which you’ve either added or customized,
    highlight it, then copy it to your clipboard. Usually any *new*
    toolbars created will be at the end of the TOOLBARS section. For
    example, if you’ve created a new toolbar named, MOSTUSED,
    then go to the TOOLBARS section and search for MOSTUSED and
    copy this portion to the clipboard.
    Open up the ACAD.MNU file in your text editor.
    Find the TOOLBARS section of the ACAD.MNU file using the
    SEARCH/FIND utility. The TOOLBARS section starts with the
    following lines:

    //
    // Begin AutoCAD ToolBars
    //

    ***TOOLBARS
    **STANDARD_TOOLBAR
    Now PASTE the contents of the clipboard into the TOOLBARS
    section of the ACAD.MNU. By putting your customized, or new,
    toolbars in the ACAD.MNU you will preserve them forever, even
    when you recompile the ACAD.MNU.
    If you’ve editted, or changed, the HELPSTRINGS section you will
    need to cut and paste these changes from the HELPSTRINGS
    section of the ACAD.MNS to the HELPSTRINGS section of the
    ACAD.MNU.
    Now that you’ve successfully cut and paste your customized
    toolbars into the ACAD.MNU save the file, and exit.
    Whenever you need to recompile the ACAD.MNU now in AutoCAD,
    the changes you’ve made will carry along without being overwritten
    or lost.

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>