×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Saving AutoCAD Button Menus
2

Saving AutoCAD Button Menus

Saving AutoCAD Button Menus

(OP)
I have a question that may have a very obvious answer but I can't seem to find it (probably because I am looking in the wrong place).

I have created a custom button menu. I have it set to run all of my script and AutoLISP files. We are always getting upgraded computer at work. The problem is that I want to transfer these menus to the new machine. I am constantly having to recreate them. I have tried saving all of my menu files and transferring those but it doesn't seem to help. Is there a file that will hold the botton layout (custom and all) and transfer it to the new machine?

RE: Saving AutoCAD Button Menus

The explanation below is for custom "TOOLBAR MENUS" which is what I think you are referring to.

1) create your custom "toolbar" (you've done this part)

2)AutoCAD locates "ALL" the toolbar info in the the "ACAD.MNS" file, find this file and make a backup copy prior to opening for edit.

3)Find the section of the file that contains your custom information (search for the first text string of the toolbar name you created) "CUT" this section out using your text editor, make sure you don't extract anything that doesn't belong to your new toolbar or the current toolbars may not work right. it will look similar to the following:

**MYTOOLBAR
ID_MyToolbar_0     [_Toolbar("MyToolbar", _Floating, _Show,

4)Create a new <mytoolbars> .MNS file and paste this information and save.

5) re-start AutoCAD and access the "Customize menus" from the "Tools" menu pulldown.

6) "Browse" to find the <mytoolbars> .MNS file and hit the <OPEN> button this will take you bake to the "Menu Custimization" dialog box

7)hit the <LOAD> button and your new tool bar should pop up on the screen.

If you plan to port this file to other computers you must make sure all the .LSP files are in the same directories etc. or you'll have errors. As with all customization projects test thoroughly to avoid the wrath of your fellow CAD users.

One problem I've found is with the toolbar graphics. When creating your toolbars put descriptive messages in the help section so when you float your mouse pointer over the toolbar the help string pops up. I've tried adding graphics with limited success but this is very time consuming and can be somewhat frustrating.

Hope this helps

RE: Saving AutoCAD Button Menus

this may help you some i am doing the same thing you are what im doing is this i created a custom .MNU file with buttons and a menu pulldown now what ive been facing is this my buttons wont keep there respective bit maps so basically what i had to do is this
1 export and name the bitmaps
2 use a print folder program to print a list of files in the specified directory (so i could just copy and paste)
3 copy and paste the names into the respective areas in the MNU file and save if im currently running the MNS the i would do a menuload to check for errors also make sure each button has a unique ID other wise you will get 2 or more buttons with the same help

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources