snapMode is undoable, queryable, and editable.
The snapMode command is used to control snapping. It toggles the
snapping modes in effect and sets information used for snapping.
Long name (short name) |
[argument types] |
Properties |
-curve(-c)
|
boolean
|

|
|
Set curve snap mode
In query mode, this flag needs a value.
|
|
-point(-p)
|
boolean
|

|
|
Set point snap mode
In query mode, this flag needs a value.
|
|
-grid(-gr)
|
boolean
|

|
|
Set grid snap mode
In query mode, this flag needs a value.
|
|
-viewPlane(-vp)
|
boolean
|

|
|
Set view-plane snap mode
In query mode, this flag needs a value.
|
|
-livePoint(-lp)
|
boolean
|

|
|
While moving on live polygon objects, snap to its
vertices.
In query mode, this flag needs a value.
|
|
-liveFaceCenter(-lfc)
|
boolean
|

|
|
While moving on live polygon objects, snap to its
face centers.
In query mode, this flag needs a value.
|
|
-useTolerance(-ut)
|
boolean
|

|
|
If useTolerance is set, then point snapping
is limited to points that are within a square region
surrounding the cursor position. The size of the square
is determined by the tolerance value.
In query mode, this flag needs a value.
|
|
-tolerance(-t)
|
int
|

|
|
Tolerance defines the size of the square region
in which points must lie in order to be snapped to. The
tolerance value is the distance from the cursor position
to the boundary of the square (in all four directions).
In query mode, this flag needs a value.
|
|
-uvTolerance(-uvt)
|
int
|

|
|
uvTolerance defines the size of the square region
in which points must lie in order to be snapped to, in the
UV Texture Editor. The tolerance value is the distance
from the cursor position to the boundary of the square
(in all four directions).
In query mode, this flag needs a value.
|
|
-edgeMagnet(-em)
|
int
|

|
|
Number of extra magnets to snap onto, regularly spaced
along the edge.
In query mode, this flag needs a value.
|
|
-edgeMagnetTolerance(-emt)
|
double
|

|
|
Precision for edge magnet snapping.
In query mode, this flag needs a value.
|
|