Introduced
4.0
Description
Unlocks an object and all its children, or a specific parameter.
Scripting Syntax
Unlock( [InputObjs], [Level], [Password], [RemoveAll] )
Parameters
|
Parameter |
Type |
Description |
|
InputObjs |
List of objects to lock. Can be objects or parameters. Default Value: Current selection. |
|
|
Level |
The lock level is a bit field value that represent a area that is locked. The maximum level is siLockLevelAll which is all the level combined. One or many level can be set on an object. When the level is 0 (siLockLevelNone) the lock is removed. Default Value: siLockLevelAll |
|
|
Password |
If the scene locks are protected by a password, the password needs to be supplied to unlock objects. |
|
|
RemoveAll |
Force removing all locks information (all lock masters) on the object and on all its children including the parameters locked. Note that when this flag is True, any objects (not locked or locked) can be selected. For example if the scene root object is selected then all locks in the scene will be removed. This can be used to clean a scene for example. Default Value: False |
See Also
|
|
|
Examples
• See Unlock.1.js
Autodesk Softimage 2011