Snap

Enables or disables Rhino's grid snap modeling aid.

Syntax

rhinoscriptsyntax.Snap( enable=None )

rhinoscript.application.Snap( enable=None )

Parameters

enable

Optional.  Boolean.  The new enabled status, either True or False

Returns

Boolean

If enable is not specified, then the current grid snap status if successful.

Boolean

If enable is specified, then the previous grid snap status if successful.

Example

import rhinoscriptsyntax as rs

if not rs.Snap(): rs.Snap(True)

Also See

Ortho

Osnap

Planar