SetLock (Parameter)

Introduced

4.0

Description

Locks a parameter. The level passed to the method is used to determine which area is locked on the parameter.

Scripting Syntax

Parameter.SetLock( [level] )

C# Syntax

Parameter.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 combinaison of many level or to have all levels, siLockLevelAll can be used.

Default Value: siLockLevelAll

Return Value

siLockLevel

See Also

Parameter.SetLock

Parameter.UnSetLock

Parameter.LockType

Parameter.LockLevel

Parameter.IsLocked

ProjectItem.SetLock

Lock

Unlock

Examples

• See Parameter.SetLock.1.js



Autodesk Softimage 2011