Sorry, another pop0 won't work.

Discussion in 'AutoCAD' started by T.Willey, Jul 2, 2004.

  1. T.Willey

    T.Willey Guest

    Sorry to post another one about this subject, but I've read some many here and I still can't seem to get my pop0 replaced. I don't want to touch the acad.mnu, I just want pop0 to read my new pop0 menu.

    (menucmd "P0=custom2.WILLEYSNAP")
    (menucmd "A2=custom2.AUX2")
    Above is what I added to my custom.mnl file per some post I read.

    ***MENUGROUP=custom2

    ***AUX2
    $P0=custom2.WILLEYSNAP $p0=*
    $P0=custom2.WILLEYSNAP $p0=*


    ***POP0
    **WILLEYSNAP
    [&Object Snap Cursor Menu]
    ID_From [&From]_from
    ID_MnPointFi [->Poin&t Filters]
    ID_PointFilx [.X].X
    ID_PointFily [.Y].Y
    ID_PointFilz [.Z].Z
    [--]
    ID_PointFixy [.XY].XY
    ID_PointFixz [.XZ].XZ
    ID_PointFiyz [<-.YZ].YZ
    [--]
    ID_OsnapBi [&Bisect]'bi
    ID_OsnapAX [Aling X]'alignx
    ID_OsnapAY [Align Y]'aligny
    ID_OsnapAZ [Align Z]'alignz
    [--]
    ID_OsnapEndp [&Endpoint]_endp
    ID_OsnapMidp [&Midpoint]_mid
    ID_OsnapInte [&Intersection]_int
    ID_OsnapAppa [&Apparent Intersect]_appint
    ID_OsnapExte [E&xtension]_ext
    [--]
    ID_OsnapCent [&Center]_cen
    ID_OsnapQuad [&Quadrant]_qua
    ID_OsnapTang [Tan&gent]_tan
    [--]
    ID_OsnapPerp [&Perpendicular]_per
    ID_OsnapPara [Para&llel]_par
    ID_OsnapNode [No&de]_nod
    ID_OsnapInse [In&sert]_ins
    ID_OsnapNear [Nea&rest]_nea
    ID_OsnapNone [&None]_non
    [--]
    ID_Osnap [&Osnap Settings...]'_+dsettings 2

    Above is in my custom2.mns file. I erased all the .mnc .mnr and .mnu after doing this. Tried reloading and it still doesn't work. Open acad again so that it could recompile and nothing.

    What am I missing? This is my first attempt at make my own pop0 menu.

    Using network version of A2K2 soon to be A2K4
    Win2k

    Thanks for the help.
    Tim
     
    T.Willey, Jul 2, 2004
    #1
  2. T.Willey

    Walt Engle Guest

    Why are you concerned about customizing the acad.mnu? I do it all the time and have never had any problems. If you're concerned about wanting to leave the original acad.mnu alone, then copy it.
     
    Walt Engle, Jul 2, 2004
    #2
  3. T.Willey

    T.Willey Guest

    It's because when I get a new job I don't want to have to change everything again. If I can set it up this way it will just be less of a hassle then.

    Tim
     
    T.Willey, Jul 2, 2004
    #3
  4. T.Willey

    Chip Harper Guest

    I believe this is what you want ....

    (menucmd "A2=custom2.AUX2")


    ***MENUGROUP=custom2

    ***AUX2
    $P0=custom2.WILLEYSNAP $p0=*


    ***POP0
    **WILLEYSNAP
    [&Object Snap Cursor Menu]
    ID_From [&From]_from
     
    Chip Harper, Jul 2, 2004
    #4
  5. T.Willey

    T.Willey Guest

    Chip,

    That still didn't work. The old "acad" object snap menu still pops up for my middle mouse button. Is there something that I am missing?

    Thanks for the help on this over asked question.
    Tim
     
    T.Willey, Jul 2, 2004
    #5
  6. T.Willey

    Walt Engle Guest

    Make the changes you want to the acad.mnu (copying the original first, though) and then load it. Also copy the acad.mnu that you revised and keep the copy
    on a diskette for yourself. If you have to go to another place, take your revised copy with you and reinstall the original and load it. No hassel, no
    fuss.
     
    Walt Engle, Jul 2, 2004
    #6
  7. T.Willey

    Walt Engle Guest

    Also, you should be aware that there are three locations for the menu:

    C:\Documents and Settings\<user name>\Application Data\Autodesk\
    Autocad 2004\R16.0\enu\Support\
    C:\Program Files\R2004\UserDataCache\Support\
    C:\Program Files\R2004\Support
     
    Walt Engle, Jul 2, 2004
    #7
  8. T.Willey

    Chip Harper Guest

    Getting ready to head out the door ... post your mns and mnl files (zip em
    first) ... or email them to me NOSPAMhot4cadAThotmail.com (make the
    obvious changes) and I'll look at it later or first thing in the am ...
    assuming you don't resolve it before then .... I use the same setup so it's
    just a matter of spotting whats different.
     
    Chip Harper, Jul 2, 2004
    #8
  9. T.Willey

    T.Willey Guest

    If I can't get this to work I may have to go that route. Is the acad.mnu release specific? If I copy my A2K2 from here then go to a place that is using R14, or something else, will the copy I made still work?

    Tim
     
    T.Willey, Jul 2, 2004
    #9
  10. T.Willey

    Walt Engle Guest

    Not necessarily, but you can copy the changes you made to the acad.mnu of R14 or whatever. Everybody here says don't revise the acad.mnu but I wholeheartedly disagree - it's easy, and works like a charm. I have the
    original copy saved elsewhere but don't anticipate EVER needing it. I show my students how to change it and when through, copy the original back to the computers at the college and reload it and we're back to
    square one. Copying and pasting is really simple.
     
    Walt Engle, Jul 2, 2004
    #10
  11. (menucmd "A2=custom2.AUX2")

    ***MENUGROUP=custom2

    ***AUX2

    $P0=custom2.POP0 $P0=*

    and I still can't seem to get my pop0 replaced. I don't want to touch the
    acad.mnu, I just want pop0 to read my new pop0 menu.
    after doing this. Tried reloading and it still doesn't work. Open acad
    again so that it could recompile and nothing.
     
    José Luis Garcia Galán, Jul 2, 2004
    #11
  12. T.Willey

    T.Willey Guest

    Jose (I think)

    I tried that and it still didn't work. If you have anymore suggestions I'm happy to try.

    Thanks for helping
    Tim
     
    T.Willey, Jul 2, 2004
    #12
  13. (menucmd "A2=custom2.AUX2")

    ***MENUGROUP=custom2

    ***AUX2

    $P0=custom2.POP0 $P0=*

    ***POP0
    // **WILLEYSNAP <--- TO SUPPRESS THIS LINE
    [&Object Snap Cursor Menu]
    ID_From [&From]_from
    ID_MnPointFi [->Poin&t Filters]
    ID_PointFilx [.X].X
    ID_PointFily [.Y].Y
    ID_PointFilz [.Z].Z
     
    José Luis Garcia Galán, Jul 2, 2004
    #13
  14. T.Willey

    T.Willey Guest

    Jose,

    That didn't work either, man this stinks.

    Thanks for trying.
    Tim
     
    T.Willey, Jul 2, 2004
    #14
  15. I feel Tim,
    Completes test:
    it modifies the order in menu

    (menucmd "A2=custom2.AUX2") ; in custom2.mnl

    ***MENUGROUP=custom2

    ***AUX2

    $P0=custom2.POP0 $P0=*

    ***POP0 //<-- The POP0 first of the POP1
    // **WILLEYSNAP <--- TO SUPPRESS THIS LINE
    [&Object Snap Cursor Menu]
    ID_From [&From]_from
    ID_MnPointFi [->Poin&t Filters]
    ID_PointFilx [.X].X
    ID_PointFily [.Y].Y
    ID_PointFilz [.Z].Z
    .......................................

    ***POP1
    **XREF
    ID_MnXref [&Xref]
    [Xref Unload]^C^C_xr-u
    [Xref Reload]^C^C_xr-r
     
    José Luis Garcia Galán, Jul 2, 2004
    #15
  16. T.Willey

    T.Willey Guest

    ***MENUGROUP=custom2



    ***AUX2

    $P0=custom2.POP0 $p0=*


    ***POP0
    //**WILLEYSNAP
    [&Object Snap Cursor Menu]
    ID_From [&From]_from
    ID_MnPointFi [->Poin&t Filters]
    ID_PointFilx [.X].X
    ID_PointFily [.Y].Y


    (menucmd "A2=custom2.AUX2");<----In my custom.mnl

    Sorry to waste your time Jose, but this doesn't work either. Can you think of anyother reason why it won't work?

    Tim
     
    T.Willey, Jul 2, 2004
    #16
  17. (command "_.menuunload" "custom2")
    (command "_.menuload" (findfile "custom2.mnu"))

    think of anyother reason why it won't work?
     
    José Luis Garcia Galán, Jul 2, 2004
    #17
  18. !!!!! ALERT !!!! --> In my custom.mnl it must be ->>> custom2.mnl

     
    José Luis Garcia Galán, Jul 2, 2004
    #18
  19. T.Willey

    Chip Harper Guest

    Ok, assuming that you haven't figured it out yet ... the mns and mnl files
    have to have the same name .... right now you have custom2.mns and
    custom.mnl change the mnl file to custom2.mnl.
     
    Chip Harper, Jul 2, 2004
    #19
  20. T.Willey

    Andreas Guest

    I am not sure if anyone has answered the original question properly as yet.
    However I always leave the original acad.mnu untouched. I also have my own
    custom.mnu (note not mns).

    I found a system that works well.

    1. You must unload all menus from MENULOAD.
    2. Load your CUSTOM.MNU (whatever your file name is)
    3. Answer YES to the dialog
    4. Load the acad.mnc (not mnu)
    5. Go to 'Menu Groups' tab and load all the menu items back in as they were
    lost when you unloaded all the menus in step 1.


    This will produce your POP 0 99% of the time. Sometimes it gets confused so
    you must exit autocad and come back in but this is very rare.


    Hope it helps


    Andreas Vasiliou
    Computer Supportworks
    South Australia

    is the standard acad.mnu with your pop0.
     
    Andreas, Jul 3, 2004
    #20
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.