Click or drag to resize

ObjectTableUnlock Method (ObjRef, Boolean)

If objref.Object().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(
	ObjRef objref,
	bool ignoreLayerMode


Type: Rhino.DocObjectsObjRef
reference to locked object to unlock.
Type: SystemBoolean
if true, the object will be unlocked even if it is on a layer that is locked or off.

Return Value

Type: Boolean
true if the object was successfully unlocked.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.27
See Also