Unlocks one or more objects. Locked object are visible, and they can be snapped to. But, they cannot be selected.
Rhino.UnlockObjects (arrObjects)
arrObjects |
Required. Array. An array of strings identifying the objects to unlock. |
Number |
The number of objects unlocked if successful. |
Null |
If not successful, or on error. |
Dim arrObjects
arrObjects = Rhino.GetObjects("Select objects to lock")
If IsArray(arrObjects) Then
Rhino.LockObjects arrObjects
End If
'Do something here...
Rhino.UnlockObjects arrObjects