Description
Returns or sets the parameter value. The type of the value depends on the Parameter.ValueType, for example it may be a string, double, integer, GridData or boolean.
In the case of an animated Parameter it returns the value at the frame that the Parameter object was created.
If the parameter is unable to retrieve the value, it returns an Empty variant. If the parameter value is a string and it has not been set then it returns an empty string.
Tip: To set the value of a parameter inside a CustomOperator use OutputPort.Value instead.
Note: Since Python does not support input parameters on properties, this property will fail in Python. Use the Python-compliant Parameter.GetValue2 or Parameter.PutValue2 method instead.
C# Syntax
// get accessor Object Parameter.get_Value( Object inFrame ); // set accessor Parameter.set_Value( Object inFrame, Object pVal );
Parameters
|
Parameter |
Type |
Description |
|
Frame |
Frame at which to set or get the value. |
See Also
|
|
|
|
Examples
• See Parameter.Value.1.vbs
• See Parameter.Value.2.js
Autodesk Softimage 2011