MENU LOAD

Discussion in 'AutoCAD' started by Marcel Goulet, Nov 23, 2004.

  1. Hi,
    When I make some modification to a menu, is there a function to reload a menu or if I absolutely have to unload it and load it after?
     
    Marcel Goulet, Nov 23, 2004
    #1
  2. Marcel Goulet

    Walt Engle Guest

    Which menu did you change - the acad.mnu? If so, just go into Autocad and type "menu" (without the quotes) and then find acad.mnu,
    highlight it and load it.
     
    Walt Engle, Nov 23, 2004
    #2
  3. Marcel Goulet

    Tom Smith Guest

    If you change the mns interactively, on screen, it will recompile
    automatically without your doing anything.

    If you edit the mns (menu source) file, simply close and reopen AutoCAD and
    the menu will recompile. If you're in a hurry, use menuload to unload and
    reload the mns in your current drawing.

    If you want a button or lisp to do this, search the NG, it has been covered
    dozens of times.

    If you modify the (obsolete) mnu file, you will need to exercise a lot of
    caution to avoid destroying any toolbar changes which were made after the
    last mnu edit.

    See http://www.markcad.com/autocad/acadmenus.htm and
    http://www.markcad.com/autocad/acadtoolbars.htm for details.
     
    Tom Smith, Nov 23, 2004
    #3
  4. Marcel Goulet

    Dommy2Hotty Guest

    Tom Smith: If you modify the (obsolete) mnu file
    I write all code to the .mnu and practice good toolbar management. No reason let AutoCAD have write access to your hard worked code if you only use a .mns file to code in. To each his own.

    Code for reloading a partial menu that is currently in use. I add this to the end of every partial menu pulldown:
    Code:
    [Reload this menu]C^C^C^P(command "menuunload" "Wyndham");(command "menuload" "Wyndham.mnu");(menucmd "p13=+Wyndham.WyndhamPD");
    Replace "Wyndham" with your partial menu name.
    The last line with the menucmd is for loading into a specific POP location (in this case, it loads in before the current 13th pulldown).
    The "WyndhamPD" is the page name under the POP declaration (would look like **WyndhamPD).
     
    Dommy2Hotty, Nov 23, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.