Patial Menu Load

Discussion in 'AutoCAD' started by jleach01, Mar 15, 2005.

  1. jleach01

    jleach01 Guest

    Would anyone know if a single partial menu can be loaded with more than one pulldown menu? Or, does each pulldown need to be a separate menu file?

    Thanks,
    Jim
     
    jleach01, Mar 15, 2005
    #1
  2. jleach01

    TRJ Guest

    To answer your questions, yes and no.

    one pulldown menu? Or, does each pulldown need to be a separate menu file?
     
    TRJ, Mar 15, 2005
    #2
  3. jleach01

    Tom Smith Guest

    Yes, you can have more than one pulldown in a menu. We have a few of those, plus a few toolbars, plus some image menus -- basically all our menu customizations are in one partial menu.

    As far as the "mystery" reply, I understand there is some (large) limit to the number of pulldowns, and you can create some complexity if you want to be real picky about their arrangement. Or depending on the application, there might be good reasons to have separate partial menus, maybe for different uses.

    But I've never had a need to venture into anything that caused difficulties. Simply going past a single pulldown in one menu is not in itself a problem.
     
    Tom Smith, Mar 15, 2005
    #3
  4. Hi Tom,

    There is no mystery. When you close AutoCAD it writes the first 24 pop
    menus to the registry of the Current User and when you start up again it
    reads up to 24. Any menus beyond 24 will not display on startup.

    You can use menuload to redisplay them, or write some lisp code and put it
    in the MNL file associated with a menu to display more. Here's an example
    extracted from one of our MNL files. I run this constantly when developing
    the menu.


    (defun C:v5LDMenus ()
    (command "menuunload" "AdvancedRoad-v5")
    (command "menuload" (strcat sARDv5ProgramPath
    "\\Bloomfield\\Programs\\AdvancedRoad-v5.mnu"))
    (menucmd "p25=+AdvancedRoad-v5.Roads5Land")
    (menucmd "p26=+AdvancedRoad-v5.Drainage5Land")
    (menucmd "p27=+AdvancedRoad-v5.Sewer5Land")

    )
     
    Laurie Comerford, Mar 16, 2005
    #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.