SetLock (ProjectItem)

Introduced

4.0

Description

Locks an object. The level passed to the method is used to determine which area to lock on the object.

Scripting Syntax

    ProjectItem.SetLock( [level] )

C# Syntax

    ProjectItem.SetLock( siLockLevel in_LockLevel );

Parameters

Parameter | Type | Description
level | siLockLevel | The level to lock. The lock level is a bit field, so it can be only one level or a combination of many level or to have all levels, use siLockLevelAll. Default Value: siLockLevelAll

Examples

JScript Example

    // See the examples under ProjectItem.LockType, ProjectItem.LockLevel, and ProjectItem.IsLocked

See Also

ProjectItem.UnSetLock | ProjectItem.LockType | ProjectItem.LockLevel | ProjectItem.IsLocked
Parameter.SetLock | Lock | Unlock |

Autodesk Softimage v7.5