ProjectOsnaps

Enables or disables object snap projection.

Syntax

rhinoscriptsyntax.ProjectOsnaps( enable=None )

rhinoscript.application.ProjectOsnaps( enable=None )

Parameters

enable

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

Returns

Boolean

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

Boolean

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

Example

import rhinoscriptsyntax as rs

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

Also See

Osnap

OsnapDialog

OsnapMode