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

See Also

ProjectItem.UnSetLock

ProjectItem.LockType

ProjectItem.LockLevel

ProjectItem.IsLocked

Parameter.SetLock

Lock

Unlock

 

Examples

• See ProjectItem.SetLock.1.js



Autodesk Softimage 2011