qball Posted June 24, 2009 Posted June 24, 2009 I typically draft with about 2/3 of the osnaps on (checked). But sometimes I need to do a series of commands with only circles, so I only want the "Center" selected. So I "Clear all" select "center", do my thing and then pick my usual list back on again. Is there a faster way to do this? Kind of like layer states but for Osnaps. Quote
rkmcswain Posted June 24, 2009 Posted June 24, 2009 You could create a macro, or shortcut, toolbar button, QAT button, tool palette button, etc. to set each mode as needed. (setvar "OSMODE" 4) ;; will set the object snap to "CEN" only (setvar "OSMODE" 169) ;; will set the object snap to PER, INT, NOD, END Look up OSMODE in HELP. Add the bitcode values to come up with the integer to use in your code. Quote
qball Posted June 24, 2009 Author Posted June 24, 2009 cool. who knew?.... well, everyone but me. But now I do! thanks. Quote
EMS_0525 Posted June 24, 2009 Posted June 24, 2009 you could just turn the osnaps toolbar on and just click the circle when u need it or hold shift in and right click while in a command it gives you the osnaps list. Quote
rkmcswain Posted June 24, 2009 Posted June 24, 2009 you could just turn the osnaps toolbar on and just click the circle when u need it or hold shift in and right click while in a command it gives you the osnaps list. If you don't use running object snaps, yes. But that doesn't allow you to change from one 'set of running osnap settings' to another. Quote
BIGAL Posted June 25, 2009 Posted June 25, 2009 To find the osmode number dont add the bitcodes just set it to what you want then (getvar "osmode") displays number. we have some shorthand defuns just type the number (defun C:39() (setvar "osmode" 39) ) Quote
rkmcswain Posted June 25, 2009 Posted June 25, 2009 To find the osmode number dont add the bitcodes just set it to what you want then (getvar "osmode") displays number. Either way works. :wink: Quote
psych Posted July 31, 2009 Posted July 31, 2009 you can also use the "mbuttonpan" command and set the variable to zero which will display the osnap list. even in the middle of a command. you can then pick which osnap you need on the screen or hit hte corresponding letter to the osnap you need e-endpoint s-insertion i-intersection c-center m-midpoint q-quadrant r-nearest p-perpendicular g-tangent Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.