Click or drag to resize
ObjectTableLock Method (RhinoObject, Boolean)
If obj.IsNormal() is true, then the object will be locked.

Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public bool Lock(
	RhinoObject obj,
	bool ignoreLayerMode
)

Parameters

obj
Type: Rhino.DocObjectsRhinoObject
normal object to lock.
ignoreLayerMode
Type: SystemBoolean
if true, the object will be locked even if it is on a layer that is locked or off.

Return Value

Type: Boolean
true if the object was successfully locked.
See Also