ObjectTableLock Method (Guid, Boolean) |
If objref.Object().IsNormal() is true, then the object will be locked.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public bool Lock(
Guid objectId,
bool ignoreLayerMode
)
Public Function Lock (
objectId As Guid,
ignoreLayerMode As Boolean
) As Boolean
Parameters
- objectId
- Type: SystemGuid
Id of 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:
Booleantrue if the object was successfully locked.
See Also