Unlocks a previously locked object. Locked object are visible, and they can be snapped to. But, they cannot be selected.
Rhino.UnlockObject (strObject)
strObject |
Required. String. The identifier of the object to unlock. |
Boolean |
True or false indicating success or failure. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject("Select object to lock")
If Not IsNull(strObject) Then
Rhino.LockObject strObject
End If
'Do something here...
Rhino.UnlockObject strObject