Adds fcurves to parameters.
AddFCurve( [InputObjs] ); |
Parameter | Type | Description |
---|---|---|
InputObjs | String |
List of animatable parameters (for example "cone*/kine.local.pos"). Default Value: Currently selected and marked parameters |
' ' In this example, an FCurve is created on the XPos param ' of the sphere. Then, two keys are created (at frame 1, ' XPos = -2; at frame 30, XPos = 5). ' NewScene CreatePrim "Sphere", "NurbsSurface", "MySphere" ' Add a posx fcurve AddFCurve "MySphere.kine.local.posx" ' Add two keys, at frame 1 and 30 SaveKey "MySphere.kine.local.posx", 1, -2 SaveKey "MySphere.kine.local.posx", 30, 5 ' Play the animation PlayForwardsFromStart |