MNL loads without Menu

Discussion in 'AutoCAD' started by Marco Caprez, Sep 10, 2004.

  1. Marco Caprez

    Marco Caprez Guest

    Hi All,

    When I remove a menugroup and then start a new drawing, the MNL of that
    removed menugroup loads again.
    Can anyone confirm that and has somebody a solution to avoid the
    unwanted MNL-load?

    Did I explain that clear?

    Thanks in advance
     
    Marco Caprez, Sep 10, 2004
    #1
  2. Did you use MenuLoad to *unload* the partial menu, or did you simply remove
    the menugroup's popup menus from the toolbar? If you did unload the partial
    menu, look for code that loads the partial menu in Acad*.lsp or
    Acad*Doc.lsp.

    --
    R. Robert Bell


    Hi All,

    When I remove a menugroup and then start a new drawing, the MNL of that
    removed menugroup loads again.
    Can anyone confirm that and has somebody a solution to avoid the
    unwanted MNL-load?

    Did I explain that clear?

    Thanks in advance
     
    R. Robert Bell, Sep 10, 2004
    #2
  3. Marco Caprez

    Marco Caprez Guest

    Hi Robert
    Yes, I use "menuunload" to unload the menugroup. And there is no code in
    other LSP-Files that loads the MNL.

    It happens with every menu. When you load a menu (as full menu or as a
    partial menu) the corresponding MNL gets loaded. This is normal behavier
    and as intended.

    But when you unload any menu(group) and start a new drawing, the MNL
    still gets loaded. Only when you restart AutoCAD the MNL doesn't get
    loaded anymore.

    It's even so that, when you load that same menu(group) again and unload
    it again the MNL loads 2 times! Repeat that 5 times and the MNL loads 6
    times!!

    Marco Caprez
    CAD-Spezialist
    Getronics (Schweiz) AG
     
    Marco Caprez, Sep 13, 2004
    #3
  4. Whoa... never noticed that before.

    --
    R. Robert Bell


    Hi Robert
    Yes, I use "menuunload" to unload the menugroup. And there is no code in
    other LSP-Files that loads the MNL.

    It happens with every menu. When you load a menu (as full menu or as a
    partial menu) the corresponding MNL gets loaded. This is normal behavier
    and as intended.

    But when you unload any menu(group) and start a new drawing, the MNL
    still gets loaded. Only when you restart AutoCAD the MNL doesn't get
    loaded anymore.

    It's even so that, when you load that same menu(group) again and unload
    it again the MNL loads 2 times! Repeat that 5 times and the MNL loads 6
    times!!

    Marco Caprez
    CAD-Spezialist
    Getronics (Schweiz) AG
     
    R. Robert Bell, Sep 13, 2004
    #4
  5. Marco Caprez

    Tom Smith Guest

    Whoa... never noticed that before.

    Me either, how weird!

    I changed the message echoed by an mnl file on loading, and not only did I
    still get the echo after unloading the menu, it was still the earlier
    version of the message. IOW, opening a new drawing showed a non-existent
    message from the previous version of the mnl. This didn't go away until I
    restarted Acad. But when I reloaded the menu, I still got the bogus echo. I
    had to recompile the menu and restart Acad to see the correct echo from the
    current version of the mnl.
     
    Tom Smith, Sep 13, 2004
    #5
  6. Marco Caprez

    Marco Caprez Guest

    Sorry, it took me a while to get back here.

    Thanks for the answers - I think I'm going to file a bug report to ADESK.

    Marco
     
    Marco Caprez, Sep 21, 2004
    #6
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.