Author Topic: Typing in OSNAPS durring commands  (Read 3440 times)

0 Members and 1 Guest are viewing this topic.

MSTG007

  • Gator
  • Posts: 2601
  • I can't remeber what I already asked! I need help!
Typing in OSNAPS durring commands
« on: October 25, 2013, 10:08:34 AM »
I do not use my osnaps that much because it usually does not pick the points i want (End Points / Perp / App). Seems like the sensitivity is off or something. But usually I do alot of typing. For example; I do a Line; then at each pick spot I type in (end) enter select the end point and (app) enter for the approx intersection of the other picked point.

During the times I type in end / app / perp / etc.

Can I make them to be (E) for end / (A) for app / (P) for perp etc?
Civil3D 2020

Rob...

  • King Gator
  • Posts: 3824
  • Take a little time to stop and smell the roses.
Re: Typing in OSNAPS durring commands
« Reply #1 on: October 25, 2013, 10:16:36 AM »
Other options:
You can set-up shift+right click to bring up the OSNAP menu. I find it easier than typing.
You can also use tab to cycle through running OSNAPs.
CAD Tech

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Re: Typing in OSNAPS durring commands
« Reply #2 on: October 25, 2013, 11:18:20 AM »
Other options:
You can set-up shift+right click to bring up the OSNAP menu. I find it easier than typing.


I use this method but I then key the mnemonic  Characters for each Osnap.

Example.   shift+right click > E for Endpoint.

Look for the underline letters.   I screenshotted my osnap menu and then taped it to my monitor to learn the letters.
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

kentium3k

  • Newt
  • Posts: 54
  • Adopt a Greyhound! No, not a bus.
Re: Typing in OSNAPS durring commands
« Reply #3 on: October 30, 2013, 06:53:47 PM »
I have the F-keys set to most of the osnaps, very easy to use, I can grab most of them without looking down.
F1 endp
F2 perp
F3 Nea
F4 Mid
etc.
Prosperity is only an instrument to be used, not a deity to be worshiped. C. Coolidge

rkmcswain

  • Swamp Rat
  • Posts: 978
Re: Typing in OSNAPS durring commands
« Reply #4 on: October 31, 2013, 08:05:40 AM »
I have the F-keys set to most of the osnaps, very easy to use, I can grab most of them without looking down.
F1 endp
F2 perp
F3 Nea
F4 Mid
etc.

Same here   ;)


MSTG007

  • Gator
  • Posts: 2601
  • I can't remeber what I already asked! I need help!
Re: Typing in OSNAPS durring commands
« Reply #5 on: October 31, 2013, 08:28:24 AM »
How do you do that? (Set it up?)
Civil3D 2020

Dave M

  • Newt
  • Posts: 196
Re: Typing in OSNAPS durring commands
« Reply #6 on: October 31, 2013, 12:11:56 PM »
I don't particularly like the MBUTTONPAN function, so I turn it off.  That way when I click my wheel button it brings up the OSNAP pop up.  Then you can just key in the shortcut for the OSNAP (i.e. E for endpoint, I for intersection, etc.)
Civil 3D 2018 - Microstation SS4 - Windows 10 - Dropbox

Crank

  • Water Moccasin
  • Posts: 1503
Re: Typing in OSNAPS durring commands
« Reply #7 on: October 31, 2013, 01:40:11 PM »
How do you do that? (Set it up?)
The easiest way is to create an .mnu-file like:
Code: [Select]
//
//  Keyboard Accelerators
//
***ACCELERATORS
ID_VBARun      [ALT+"F8"]
ID_VBAIDE      [ALT+"F11"]
["F1"]Int,End
["F2"]Cen,Mid
["F3"]Per,Qua
["F4"]Ins,Nod
["F5"]Near
["F6"]App,Tan
and use cuiload to load that menu.

In the CUI you can also find a section with Keyboard Shortcuts. If the main and partial menus define the same key, then the last loaded cuix is leading (So this is usually a definition from a partial cuix!).

Tip: It's also possible to create commands like (defun c:int,end () ... ) , so the function keys can also be used to start those commands.
Vault Professional 2023     +     AEC Collection

kentium3k

  • Newt
  • Posts: 54
  • Adopt a Greyhound! No, not a bus.
Re: Typing in OSNAPS durring commands
« Reply #8 on: October 31, 2013, 04:48:56 PM »
How do you do that? (Set it up?)

Short answer, go into your CUI, in the lower left find snap,endpoint and pick on it, drag that up to the upper left under Keyboard Shortcuts, pick on that and look to the lower right for a line that says Keys, pick on that, then further to the right in that same line is an ellipsis (...), pick on that, then with caps lock off hit the F2 key.  Close the CUI and test it out.
Prosperity is only an instrument to be used, not a deity to be worshiped. C. Coolidge

lamarn

  • Swamp Rat
  • Posts: 636
Re: Typing in OSNAPS durring commands
« Reply #9 on: October 31, 2013, 05:34:13 PM »
In other words.. It is not possible! (?) i have tries it in the past, but could not made it work transparantly in a defun.
Design is something you should do with both hands. My 2d hand , my 3d hand ..

Crank

  • Water Moccasin
  • Posts: 1503
Re: Typing in OSNAPS durring commands
« Reply #10 on: November 01, 2013, 03:14:21 AM »
lammerts,

 A defun shouldn't be a problem. In the past I've had some small difficulties with dynamic input. If that is the case then I turn dynamic input temporary of in the lisp.
Have you tried to load my demo menu? If that's not working, then there is something wrong in your lisp.

I've been using function keys for all my osnaps since Autocad12: my OSMODE is default set to 0.
Vault Professional 2023     +     AEC Collection

lamarn

  • Swamp Rat
  • Posts: 636
Re: Typing in OSNAPS durring commands
« Reply #11 on: November 05, 2013, 03:45:53 AM »
I replied on the question: Can I make E : for end / A : for app etc.?
I think the f1 methods would work...
Design is something you should do with both hands. My 2d hand , my 3d hand ..

RC

  • Guest
Re: Typing in OSNAPS durring commands
« Reply #12 on: November 20, 2013, 11:33:43 AM »
I agree with DWMASS,
I don't use MBUTTONPAN, so the middle button on the mouse pops the osnap menu to the screen, an "E" will execute endpoint.

IF shortcut letters in your osnap menu are not underlined (to let you know which one is the shortcut) you can restore that feature (Win7) by:
1.Click Start, and launch the Control Panel.
2.Click Ease of Access.
3.Click Change how your keyboard works.
4.Locate the Make it easier to use keyboard shortcuts section.
5.Enable the Underline keyboard shortcuts and access keys checkbox.
6.Click OK.

MSTG007

  • Gator
  • Posts: 2601
  • I can't remeber what I already asked! I need help!
Re: Typing in OSNAPS durring commands
« Reply #13 on: December 04, 2013, 11:35:41 AM »
That was pretty slick Crank

"//
//  Keyboard Accelerators
//
***ACCELERATORS
ID_VBARun      [ALT+"F8"]
ID_VBAIDE      [ALT+"F11"]
["F1"]Int,End
["F2"]Cen,Mid
["F3"]Per,Qua
["F4"]Ins,Nod
["F5"]Near
["F6"]App,Tan
"
Civil3D 2020

Crank

  • Water Moccasin
  • Posts: 1503
Re: Typing in OSNAPS durring commands
« Reply #14 on: December 07, 2013, 07:56:14 AM »
I know: I was already using these settings in Acad11 .
Vault Professional 2023     +     AEC Collection