Enables or disables Rhino's grid snap modeling aid.
rhinoscriptsyntax.Snap( enable=None )
rhinoscript.application.Snap( enable=None )
enable |
Optional. Boolean. The new enabled status, either True or False |
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. |
import rhinoscriptsyntax as rs
if not rs.Snap(): rs.Snap(True)