RhinoCommon API
ObjectTableUnlock Method (RhinoObject, Boolean) |
If obj.IsLocked() is true, then the object will be returned to normal (visible and selectable) mode.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool Unlock( RhinoObject obj, bool ignoreLayerMode )
Public Function Unlock ( obj As RhinoObject, ignoreLayerMode As Boolean ) As Boolean
Parameters
- obj
- Type: Rhino.DocObjectsRhinoObject
locked object to unlock. - ignoreLayerMode
- Type: SystemBoolean
if true, the object will be unlocked even if it is on a layer that is locked or off.
Return Value
Type: Booleantrue if the object was successfully unlocked.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8