Author Topic: right click osnap menu customization  (Read 4939 times)

0 Members and 1 Guest are viewing this topic.

ELOQUINTET

  • Guest
right click osnap menu customization
« on: February 11, 2004, 08:43:53 AM »
i have an osnap i would like to add to my right click osnap menu. last night i went into my acad.mns and found ID_MIDPT  in my toolbars section. then i went down to the assist section and put [App Mid]_MIDPT  in. It doesn't show up in my right click menu. what am i doing wrong???

daron

  • Guest
right click osnap menu customization
« Reply #1 on: February 11, 2004, 09:46:03 AM »
Post the osnap area.

ronjonp

  • Needs a day job
  • Posts: 7533
right click osnap menu customization
« Reply #2 on: February 11, 2004, 11:52:37 AM »
This is where I found snaps in acad.mns for shift+right-click:

Code: [Select]
***POP0
**SNAP
               [&Object Snap Cursor Menu]
ID_Tracking    [Temporary trac&k point]_tt
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_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


Vanilla Autocad 2002

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

ELOQUINTET

  • Guest
right click osnap menu customization
« Reply #3 on: February 11, 2004, 03:14:24 PM »
ok guys i tried it's showing up in my menu but the osnap isn't working. why not?


***POP0
**SNAP
               [&Object Snap Cursor Menu]
ID_Tracking    [Temporary trac&k point]_tt
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_OsnapEndp   [&Endpoint]_endp
ID_OsnapMidp   [&Midpoint]_mid
ID_OsnapMidpt  [&Apparent Midpoint]_midpt **********
ID_OsnapInte   [&Intersection]_int
ID_OsnapAppa   [&Apparent Intersect]_appint
ID_OsnapExte   [E&xtension]_ext






**TB_OBJECT_SNAP
ID_TbOsnap     [_Toolbar("Object Snap", _Right, _Show, 0, 0, 1)]
ID_OsnapEndp   [_Button("Snap to Endpoint", "ICON_16_OSNEND", "ICON_16_OSNEND")]_endp
ID_OsnapMidp   [_Button("Snap to Midpoint", "ICON_16_OSNMID", "ICON_16_OSNMID")]_mid
ID_OsnapMidpt  [_Button("MIDPOINT BETWEEN 2 POINTS", "MIDPOINT BETWEEN 2 POINTS.bmp", "ICON_16_BLANK")]_non;'cal (cur + cur)/2;*********************

daron

  • Guest
right click osnap menu customization
« Reply #4 on: February 11, 2004, 03:24:55 PM »
what does this: ID_OsnapMidpt [&Apparent Midpoint]_midpt ********** mean? All the stars? Is it just your way of highlighting your issue?

Might this help:ID_OsnapMidpt [&Apparent Midpoint]_non;'cal (cur + cur)/2; ?

ELOQUINTET

  • Guest
right click osnap menu customization
« Reply #5 on: February 11, 2004, 03:32:41 PM »
yeah that's the new snap daron should've said that. so how's it look aside from the stars. it is recognized but the midpoint between 2 points snap isn't working like it does from my toolbar

daron

  • Guest
right click osnap menu customization
« Reply #6 on: February 11, 2004, 03:39:52 PM »
Mybe you need to wrap your cal function in parenthesis and define what cur means?

ronjonp

  • Needs a day job
  • Posts: 7533
right click osnap menu customization
« Reply #7 on: February 11, 2004, 03:53:53 PM »
Try this:

ID_OsnapEndp   [&Endpoint]_endp
ID_OsnapMidp   [&Midpoint]_mid
ID_OsnapMidpt  [&Apparent Midpoint]_non;'cal (cur + cur)/2;
ID_OsnapInte   [&Intersection]_int
ID_OsnapAppa   [&Apparent Intersect]_appint
ID_OsnapExte   [E&xtension]_ext

Is this what you want?

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

daron

  • Guest
right click osnap menu customization
« Reply #8 on: February 11, 2004, 03:57:04 PM »
I gave him that. He said it didn't work.

ronjonp

  • Needs a day job
  • Posts: 7533
right click osnap menu customization
« Reply #9 on: February 11, 2004, 03:59:36 PM »
Works for me :?:

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

M-dub

  • Guest
right click osnap menu customization
« Reply #10 on: February 11, 2004, 04:02:39 PM »
Alright, Dan...If you're at the point where you'll listen to me, make sure you save a copy of your menu files somewhere else as a backup.  :wink:  :oops:

Here's mine:
***POP0
**SNAP
// Shift-right-click if using the default AUX2 and/or BUTTONS2
// menus.
             [&Object Snap Cursor Menu]
ID_Tracking  [Temporary trac&k point]_tt
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_OsnapEndp [&Endpoint]_endp
ID_OsnapMidp [&Midpoint]_mid
ID_OSNAPBTWN [&Between]_'btwn
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

I also have my BTWN lisp loaded in my Startup Suite.  Mine works flawlessly.  Take that advice for what it's worth...

Take Care,
Mike

ELOQUINTET

  • Guest
right click osnap menu customization
« Reply #11 on: February 11, 2004, 04:10:25 PM »
hey guys i put in rons part and it works great thanks. i'll learn this stuff someday but in the meantime please be patient  with me :wink: