Introduced
4.0
Description
Adds an FCurve editor to the layout. It should be associated with an FCurve Parameter (see CustomProperty.AddFCurveParameter). This control is a full FCurve editor, and should not be confused with the Animation Divot.
Like other Parameters you can add custom Logic code to the Layout that is called whenever the FCurve changes. This is demonstrated in the examples.
Scripting Syntax
PPGLayout.AddFCurve( ScriptName, [Height] )
C# Syntax
PPGItem PPGLayout.AddFCurve( String in_ScriptName, Int32 in_opt_Height );Parameters
|
Parameter |
Type |
Description |
|
ScriptName |
Scripting name of the Parameter, which must be of type FCurve. The call does not fail even if no parameter by this name exists. However in that case the control is not drawn as part of the layout. |
|
|
Height |
Height of the control. Note: It is not necessary to set the width because the control automatically resizes according to the size of the property page. Default Value: 300 |
Return Value
See Also
Examples
• See PPGLayout.AddFCurve.1.js
• See PPGLayout.AddFCurve.2.vbs
Autodesk Softimage 2011