[Paraview] Animating a Vector from Python

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Mar 18 17:24:50 EDT 2008


You have to create different animation cues for each index of the vector.

So in the example:
cue.AnimatedElement = 1

will animate the "Y" value of the sphere's center.

Utkarsh

Kent Eschenberg wrote:
> The book's example on p.314 (pi?) for animating StartTheta works for me 
> but I need to animate a vector such as the sphere's center. I tried
> 
>   cue.AnimatedPropertyName = "Center"
>   keyf0.KeyValues= [ -0.2, -0.2, -0.2 ]
>   keyf1.KeyValues= [ 0.2, 0.2, 0.2 ]
> 
> but only the location in X changes. What's the secret protocol here?
> 
> TIA!
> Kent
> Pittsburgh Supercomputing Center
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
> 


More information about the ParaView mailing list