I am trying to understand what SNAPMODE does . I use acad 2009 . I have no problem to control my snaps , i use the cui macros to turn it on/ off . I am just curious .
Help says : snapmode has values 0 or 1, and turns osnap on / off
Now when i set my snapmode, it can accept 0 , 1 or 2 .
And changing value has no effect .
any idea why ?
@mrkaplan wrote:....
Help says : snapmode has values 0 or 1, and turns osnap on / off
Now when i set my snapmode, it can accept 0 , 1 or 2 .
And changing value has no effect .
....
For me, there's no apparent effect from changing the value between 1 and 2 [Snap is on either way, and I don't notice anything else that's different], but setting it to 0 does turn Snap off. Is that not the case for you?
from the help file :
" snapmode
Type: Integer
Saved in: Drawing
Initial value: 0
Turns the Snap mode on and off.
0
Snap off
1
Snap on for the current viewport
"
not specific about grid snaps .
besides , snapmode doesnt change grid snaps either
@mrkaplan wrote:no, that's not the case for me . 0 value also leaves osnap unchanged .
... and ...from the help file :
" snapmode
...
Turns the Snap mode on and off.
....not specific about grid snaps .
besides , snapmode doesnt change grid snaps either
....
Whether you call it "grid snaps" or "positional snap" or something else, don't confuse Snap with Object snap, as the o quoted above suggests you may be doing. SNAPMODE is about whether or not the cursor jumps between, or is limited to only, locations that are multiples of the SNAPUNIT setting from the SNAPBASE [origin] setting. It is affected in other ways by various other System Variables whose names begin with SNAP [e.g. Standard vs. Isometric -- see the list of System Variables in the Command Reference in Help].
Snap settings are not related in any way to Object snap [Osnap], which is about locking onto locations on objects [endpoints, intersections, etc.], and is controlled by the OSMODE setting, on which the SNAPMODE setting has no effect [and vice versa].
Referring to positional snap as "grid snaps" has the potential to cause confusion with Grid settings, but SNAPMODE is not related to the the visible Grid if you have that on. The SNAPUNIT setting will affect the visible Grid only if GRIDUNIT is set to 0,0, in which case the Grid dot spacing will match the Snap spacing. And a non-zero SNAPANG setting will rotate the Grid.
Let me repeat my earlier question in a different way:
Set SNAPUNIT [either with the Snap command, in which case you can give it just one number, or by typing in SNAPUNIT, in which case you need to give it two with a comma between] to some clunky value, say, at least 10% of the height of the visible screen area. With SNAPMODE set to 1 [or 2], does the cursor jump in increments of that size as you move your mouse around? With SNAPMODE set to 0, does it flow smoothly as you move your mouse around? That's the way SNAPMODE is supposed to work.
@Kent1Cooper wrote:Whether you call it "grid snaps" or "positional snap" or something else, don't confuse Snap with Object snap,
There you go
Thank you for the explanation Kent
I see where the discussion went and I came here after searching for SNAPMODE. The reason I came here is to find out what value 2 does. I understand the 0 and 1 on/off but what is different when you choose SNAPMODE (2) ? How does it differ from 0 and 1 ?
Curt Long
I think that snapmode set to 1 turns snap on always. Snapmode set to 2 turns snap on only when a command is active. Test it out.
edit:
No, I was wrong about that.. I don't notice a difference between snapmode being set to 1 or 2.
Also, you can change the behavior of snap as I described originally in the snap command under Legacy. This apparently doens not affect the snapmode variable though.