Returns or modifies Rhino's "snap-to-locked" setting, which controls whether or not object snaps work on locked objects and on objects on locked layers.
Rhino.SnapToLocked ([blnEnable])
blnEnable |
Optional. Boolean. The new enabled status, either True or False |
Boolean |
If blnEnable is not specified, then the current "snap-to-locked" setting if successful. |
Boolean |
If blnEnable is specified, then the previous "snap-to-locked" setting if successful. |
If Not Rhino.SnapToLocked Then
Rhino.SnapToLocked True
End If