v2.0
Opens the animation editor with the animation view (right-hand side) set to the input view. The animation tree (left-hand side) shows the input object(s) with the input parameters already selected.
OpenAnimationEditor( [AnimationView], [InputObjs] ); |
Parameter | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
AnimationView | String | Which animation view to show in the animation editor (for
example "FCurve Editor").
Default Value: None - the Animation Editor itself will determine which animation view to show
|
||||||||||
InputObjs | String | List of animatable
parameters (for example "cone*/.kine.local.pos").
Default Value: Currently marked parameters |
' ' This example demonstrates how to open the default animation view with ' the OpenAnimationEditor command. ' NewScene , false ' Create an object and set a key on it set oAnimObj = CreatePrim( "Cone", "MeshSurface" ) Translate oAnimObj, -7.92963227268228, 5.31226706028277, -0.531226706028277, _ siRelative, siView, siObj, siXYZ SaveKey oAnimObj & "/.kine.local.pos", 1 ' Open the Animation Editor with the default animation view (in this case, the FCurve Editor) OpenAnimationEditor |
/* This example demonstrates how to open the Standalone DopeSheet with the OpenAnimationEditor command and automatically select the position fcurves. */ NewScene( null, false ); // Create an object and set a key on it var oAnimObj = CreatePrim( "Cone", "MeshSurface" ); Translate( oAnimObj, -7.92963227268228, 5.31226706028277, -0.531226706028277, siRelative, siView, siObj, siXYZ ); SaveKey( oAnimObj + "/.kine.local.pos", 1 ); // Open the Animation Editor with the Dopesheet as the animation view and // automatically select the position fcurves OpenAnimationEditor( "Standalone DopeSheet", oAnimObj + "/.kine.local.pos" ); |