Autoload menu files

Discussion in 'AutoCAD' started by kalderson, Feb 3, 2004.

  1. kalderson

    kalderson Guest

    We create custom pulldowns in my office, as well as custom buttons. I would like to keep the pulldowns in a file separate from the ACAD.MNU file because we edit the pulldowns occasionally. Everything works fine, except when AutoCAD is restarted, it reverts back to the standard configuration where only the standard menu file and the bonus menu file is loaded. How can I get these other menu files to load automatically every time AutoCAD starts?
     
    kalderson, Feb 3, 2004
    #1
  2. kalderson

    dean_bourke Guest

    How are you loading them now?
    MENULOAD should keep them there?
     
    dean_bourke, Feb 3, 2004
    #2
  3. kalderson

    Mark Propst Guest

    create your own menu file, then use "menuload" to partial load your custom
    menu
    hth
    Mark

    would like to keep the pulldowns in a file separate from the ACAD.MNU file
    because we edit the pulldowns occasionally. Everything works fine, except
    when AutoCAD is restarted, it reverts back to the standard configuration
    where only the standard menu file and the bonus menu file is loaded. How
    can I get these other menu files to load automatically every time AutoCAD
    starts?
     
    Mark Propst, Feb 3, 2004
    #3
  4. kalderson

    kalderson Guest

    I load the menus using the "menuload" command, but they disappear when I exit AutoCAD. I need them to always be there. Ideas?
     
    kalderson, Feb 3, 2004
    #4
  5. kalderson

    Rudy Tovar Guest

    (if (not (menugroup "yourmenu"))
    (command "menuload" "yourmenu.mnc" (princ))
    )

    would like to keep the pulldowns in a file separate from the ACAD.MNU file
    because we edit the pulldowns occasionally. Everything works fine, except
    when AutoCAD is restarted, it reverts back to the standard configuration
    where only the standard menu file and the bonus menu file is loaded. How
    can I get these other menu files to load automatically every time AutoCAD
    starts?
     
    Rudy Tovar, Feb 4, 2004
    #5
  6. kalderson

    Rudy Tovar Guest

    Just so you know, load it off your network.

     
    Rudy Tovar, Feb 4, 2004
    #6
  7. kalderson

    kalderson Guest

    I did that, but when I exit AutoCAD and restart, the menus do not load, I have to load them manually. My goal is to have them loaded automatically when AutoCAD is started.
     
    kalderson, Feb 4, 2004
    #7
  8. kalderson

    kalderson Guest

    Where do I put that string?
     
    kalderson, Feb 4, 2004
    #8
  9. kalderson

    rewilson Guest

    Pause for a stupid question........ If your custom menu is in a seperate folder from your acad.mnu, did you add that folder to your support file search path? Just a hunch....
     
    rewilson, Feb 4, 2004
    #9
  10. kalderson

    Rudy Tovar Guest

    I use mystartup, that gets load in each drawing.

    ;;Files is called ACAD.LSP
    (defun S::STARTUP ()
    (prompt "\nCopyright 1998, Cadentity.")
    (princ)
    )
    (setq s::startup (append s::startup mystartup))

    (defun mystartup (/)
    (if (not (menugroup "yourmenu"))
    (command "menuload" "yourmenu.mnc" (princ))
    )
    ;...etc.
    (princ)
    )
    --

    AUTODESK
    Authorized Developer
    www.Cadentity.com
    MASi
     
    Rudy Tovar, Feb 4, 2004
    #10
  11. kalderson

    Rudy Tovar Guest

    Just to clarify it a little clearer, the ACAD.LSP is on the local machine,
    and the another file is referenced on the network.
     
    Rudy Tovar, Feb 4, 2004
    #11
  12. #1 Does your custom menu have an .mnl file? If so, are there any errors in
    the file?

    #2 You _do_ have a menu group name assigned in the custom menu, right? e.g.
    ***MENUGROUP=Mine


    --
    R. Robert Bell, MCSE
    www.AcadX.com


    We create custom pulldowns in my office, as well as custom buttons. I would
    like to keep the pulldowns in a file separate from the ACAD.MNU file because
    we edit the pulldowns occasionally. Everything works fine, except when
    AutoCAD is restarted, it reverts back to the standard configuration where
    only the standard menu file and the bonus menu file is loaded. How can I
    get these other menu files to load automatically every time AutoCAD starts?
     
    R. Robert Bell, Feb 4, 2004
    #12
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.