ATTN Mike Tuersley--menu problem solved

Discussion in 'AutoCAD' started by perry, Oct 14, 2004.

  1. perry

    perry Guest

    Ok, after some teeth gnashing and hair pulling I finally figured out the
    problem with Acad2002/Acad2004 menu loading.
    Using the statement "ObjMenuGroups.Load path" doesnt necessarily attempt to
    load a .MNU file even if that is what is
    specified in "path". It will first try to load a compiled (.mnc) file. Thats
    where my problem was. Apparently Acad2004
    compiles menus differently than Acad2002. So when I issued the above
    statement in Acad2002 it attempted to load
    an .mnc file previously created by Acad2004.
    When I deleted the compiled files, Acad2002 sucessfully loaded the .MNU
    file. (However, Acad2004 can load a menu
    compiled by Acad2002).
    Moral of the story...even if .mnu files are identical, give them different
    names for different versions of Acad and/or place
    them in different directories... WHEW!
     
    perry, Oct 14, 2004
    #1
  2. Ahhh!!!!! That makes sense Perry =) *I* was loading MNS files with your
    code - not MNUs since I assumed you were *adding* a menu. Never thought to
    ask which menu type - my bad!

    -- Mike
    ___________________________
    Mike Tuersley
    CADalyst's CAD Clinic
    Rand IMAGINiT Technologies
    ___________________________
    the trick is to realize that there is no spoon...
     
    Mike Tuersley, Oct 15, 2004
    #2
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.