You are here:

AutoCAD/MAKING MY OWN TOOL BAR

Advertisement


Question
IM RUNNING 2005. WHICH VERSIONS CAN DO THESE ACTIONS THAT I AM TALKING BOUT
-------------------------

Followup To

Question -
CAN YOU RUN ME THROUGH THE PROCEDURE OF HOW TO CREATE A TOOL BAR FROM SCRATCH WITH NEW BUTTONS. IF IT CAN BE DONE. IF IT CAN HERES WHAT IM TRYING TO DO. I WANT A CUSTOM MADE TOOL BAR WITH A VARIATY OF 3D OBJECTS LIKE WIRES AND CONDUCTORS THAT I MODELED AND MADE THEM INTO BLOCKS. ALL I WANT IS TO BE ABLE TO HIT WHICH EVER BUTTON I DESIRE AND HAVE THE WIRE IN 3D JUST APPEAR ON THE SCREEN READY TO BE INSERTED. I KNOW ITS TOO MUCH TO ASK BUT THIS CAN HELP ME ALOT. THANKS FOR HEARING ME OUT

Answer -
César:
What version of AutoCAD are you running?

Bill DeShawn
http://my.sterling.net/~bdeshawn


Answer
César:
All versions can do it, but the procedure changes in AutoCAD 2006.  

Here's a sample MNS file. that you can get started with.  Look it over, load it, edit it and see how it goes.  I'll help you with things as you go with whatever questions you have.


//
//      AutoCAD menu file - C:\CHP2K\PG\lats.mnc
//

***MENUGROUP=LATS

***TOOLBARS
**LATERALS
         [_Toolbar("LATERALS", _Floating, _Show, 637, 120, 1)]
         [--]
ID_FLATPL      [_Button("Draw PLINE on FLAT layer.", "FLATPL.bmp", "FLATPL.bmp")]^C^CFLATLA;^CPLINE
ID_HD          [_Button("Add holdowns", "HD.bmp", "HD.bmp")]^C^Chd
ID_SHP         [_Button("Shearwall Tags", "SHP.bmp", "SHP.bmp")]^C^Cshp
ID_DET         [_Button("Detail ID tags", "DET.bmp", "DET.bmp")]^C^Cdet
ID_LATSCR      [_Button("Run Lateral Script", "SCRIPT.bmp", "SCRIPT.bmp")]^C^CSCRIPT;LATERAL
         [--]


***HELPSTRINGS
ID_FLATPL      [Draw a polyline to fill shear wall.]
ID_HD          [Add holdowns]
ID_SHP         [Add Shearwall Tag to Lateral.]
ID_DET         [Add Detail Tag to Lateral.]
ID_LATSCR      [Run Lateral Script File.]

//      End of AutoCAD menu file - C:\CHP2K\PG\lats.mnc
//


You'll need to take the hard returns out of one or two macros.

Keep in touch
Bill DeShawn
http://my.sterling.net/~bdeshawn  

AutoCAD

All Answers


Answers by Expert:


Ask Experts

Volunteer


Bill DeShawn

Expertise

I can address all 2-D questions and some 3-D questions. I do programming in AutoLISP if it doesn`t involve solid modeling. I can also address menu customization issues and can help you find answers to questions I can`t answer by taking your question directly to Autodesk via their newsgroups.

Experience

I used to do electronic and mechanical design for a flat panel monitor manufacturer, and now I do architectural drafting for an architect. I did and do AutoLISP and menu customization and take pride in making my lisp routines to do the work exactly the way the client likes them done.

Publications
I had a routine published in CADENCE magazine (no longer in publication and taken over by CADALYST). Some of my routines are published on my website at http://my.sterling.net/~bdeshawn

©2012 About.com, a part of The New York Times Company. All rights reserved.