Using Locks with Scripts

 
 
 

You can lock and unlock scene elements at any level by entering commands in the script editor.

In some cases, certain tasks can only be done through scripting. For example, if you want to lock all parameters of the same type, enter the following in the editing pane of the script editor:

Lock "*.kine.local.posx"

If you want to unlock all parameters of the same type, enter the following in the editing pane of the script editor:

Unlock "*.kine.local.posx"

You can also get lock information on scene elements by using the LockLevel and LockType properties in the Object Model.

For more information, see the Lock and Unlock commands, and the LockLevel and LockType Object Model properties [SDK Guide].

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License