v4.0
Locks a parameter. The level passed to the method is used to determine which area is locked on the parameter.
Parameter.SetLock( siLockLevel in_LockLevel ); |
oReturn = Parameter.SetLock( [level] ); |
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 |
// See the example under Parameter.IsLocked |
Parameter.SetLock Parameter.UnSetLock Parameter.LockType Parameter.LockLevel Parameter.IsLocked ProjectItem.SetLock Lock Unlock