SnapOn Property

Specifies the status of snap.

See Also | Example




Viewport, PViewport
The object or objects this property applies to.


Boolean; read-write

TRUE: Snap is on.

FALSE: Snap is off.

System variables

The value of this property is stored in the SNAPMODE system variable. To change the snap style, use the SNAPSTYL system variable.


SnapOn activates Snap mode using the current snap grid resolution, rotation, and style. To change the snap grid resolution, use the SetSnapSpacing method. To change the snap rotation, use the SnapRotationAngle property.

The snap grid is invisible. Use the GridOn property to display a separate visible grid.

AutoCAD ignores the Snap mode in perspective views.