Image Menu

Discussion in 'AutoCAD' started by GrumpyChick, Jul 2, 2004.

  1. GrumpyChick

    GrumpyChick Guest

    First REAL attemt at creating an Image menu (or any kind of menu for that matter), though I learned it 6 years ago in school but have just never implemented it before so I need some help.

    ok so Ive got all my image slides(*.sld), slidelib.exe, slidelist.lst and *.slb in the same directory and have created a mnu file (that I copied and change the extention to mnc (wich makes it a parcial menu right? I really dont know)

    anyway I did a menuload and found the mnc and hit load but then..... nothing happened....

    How do I get the thing to load? any ideas on what Ive done wrong?
     
    GrumpyChick, Jul 2, 2004
    #1
  2. GrumpyChick

    GrumpyChick Guest

    just posting whats in the mnu file just in case it helps

    ***MENUGROUP=Image Menu's
    ***POP1
    P1-1 [Im&age Menu's]
    P1-2 [Image menu ^C^C$I=Image menu's.DOORS4 $I=*
    P1-3 [--]


    ***IMAGE
    **DOORS4
    [4" frame door plans]
    [DOORS4 (D1,3-0-bifold-1)]INSERT;D1;\;;
    [DOORS4 (D2,4-0-bifold-1)]INSERT;D1;\;;
    [DOORS4 (D3,4-0-bifold-2)]INSERT;D1;\;;
    [DOORS4 (D4,5-0-bifold)]INSERT;D1;\;;
    [DOORS4 (D5,6-0-bifold)]INSERT;D1;\;;
    [DOORS4 (D6,double-2-0-dwn)]INSERT;D1;\;;
    [DOORS4 (D7,double-2-0-up)]INSERT;D1;\;;
    [DOORS4 (D8,double-2-6-dwn)]INSERT;D1;\;;
    [DOORS4 (D9,double-2-6-up)]INSERT;D1;\;;
    [DOORS4 (D10,double-2-8-dwn)]INSERT;D1;\;;
    [DOORS4 (D11,double-2-8-up)]INSERT;D1;\;;
    [DOORS4 (D12,double-3-0-dwn)]INSERT;D1;\;;
    [DOORS4 (D13,double-3-0-up)]INSERT;D1;\;;
    [DOORS4 (D14,french-2-6-dwn)]INSERT;D1;\;;
    [DOORS4 (D15,french-2-6-up)]INSERT;D1;\;;
    [DOORS4 (D16,french-2-8-dwn)]INSERT;D1;\;;
    [DOORS4 (D17,french-2-8-up)]INSERT;D1;\;;
    [DOORS4 (D18,french-3-0-dwn)]INSERT;D1;\;;
    [DOORS4 (D19,french-3-0-up)]INSERT;D1;\;;
    [DOORS4 (D20,single-2-0-lft-dwn)]INSERT;D1;\;;
    [DOORS4 (D21,single-2-0-lft-up)]INSERT;D1;\;;
    [DOORS4 (D22,single-2-0-rt-dwn)]INSERT;D1;\;;
    [DOORS4 (D23,single-2-0-rt-up)]INSERT;D1;\;;
    [DOORS4 (D24,single-2-4-lft-dwn)]INSERT;D1;\;;
    [DOORS4 (D25,single-2-4-lft-up)]INSERT;D1;\;;
    [DOORS4 (D26,single-2-4-rt-dwn)]INSERT;D1;\;;
    [DOORS4 (D27,single-2-4-rt-up)]INSERT;D1;\;;
    [DOORS4 (D28,single-2-6-lft-dwn)]INSERT;D1;\;;
    [DOORS4 (D29,single-2-6-lft-up)]INSERT;D1;\;;
    [DOORS4 (D30,single-2-6-rt-dwn)]INSERT;D1;\;;
    [DOORS4 (D31,single-2-6-rt-up)]INSERT;D1;\;;
    [DOORS4 (D32,single-2-8-lft-dwn)]INSERT;D1;\;;
    [DOORS4 (D33,single-2-8-lft-up)]INSERT;D1;\;;
    [DOORS4 (D34,single-2-8-rt-dwn)]INSERT;D1;\;;
    [DOORS4 (D35,single-2-8-rt-up)]INSERT;D1;\;;
    [DOORS4 (D36,single-3-0-lft-dwn)]INSERT;D1;\;;
     
    GrumpyChick, Jul 2, 2004
    #2
  3. GrumpyChick

    ECCAD Guest

    First thing I noticed >>that I copied and changed the extention to mnc<<. No, don't rename the .mnu as a .mnc. Menu files in AutoCAD have (4) extensions as follows.
    1) file.mnu ' raw text menu content file
    2) file.mns ' text, formatted 'source' file (like .mnu)
    3) file.mnr ' resource menu - icon images and other things
    4) file.mnc ' Compiled menu - acad 'runs' with this one.
    Save your file.mnu (with the .mnu extension)
    In Acad, do a 'MENULOAD' at the command line, and pick 'Files of Type' .......*.mnu
    Load it. This will 'compile' the menu (.mnu) and create a .mnr, .mns, .mnc.
    To load it as a partial menu, see lisp command 'menucmd'

    Bob
     
    ECCAD, Jul 2, 2004
    #3
  4. GrumpyChick

    ECCAD Guest

    2nd issue. MENUGROUP.
    Your name for menugroup should be (short), contain no spaces, and in CAPS.
    e.g.
    ***MENUGROUP=IMGMENUS (sample)
    And change line:
    P1-2 [Image menu ^C^C$I=Image menu's.DOORS4 $I=*
    To:
    P1-2 [Image menu ^C^C$I=IMGMENUS.DOORS4 $I=*

    Bob
     
    ECCAD, Jul 2, 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.