Introduced
1.0
Description
Sets Parameter values and returns the old value (that is, the parameter value before it was changed). This command, like its counterpart GetValue, is a very powerful command because it can change the value of practically any parameter in the scene.
Each time the user changes a Property Page the resulting SetValue call is logged into the script history. By turning the script history contents into a simple script it is easy to automate repetitive tasks.
SetValue provides powerful wildcard support so it is possible to set many parameters with a single call. However, because calling SetValue is logged in the Script History, it is sometimes faster to use the object model to change values; see Parameter.Value.
For more information, see the documentation for the GetValue command.
Scripting Syntax
SetValue( Target, Value, [Time] )
Parameters
|
Parameter |
Type |
Description |
|
Target |
List of parameters to set. Default Value: Current selection. |
|
|
Value |
Parameter-dependent |
New parameter values. |
|
Time |
Frame at which to set the values. Default Value: Current frame. |
See Also
Examples
• See SetValue.1.vbs
Autodesk Softimage 2011