[Paraview] Save animation using python script
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Wed Jul 25 08:57:26 EDT 2007
You'll have to create a "vtkSMAnimationSceneImageWriter" object to write
an animation out. This is not a proxy. So simply create the writer
object, set properties such as "FrameRate", "FileName", "Magnification"
on it. Also set the "AnimationScene" to point to the animation scene
proxy, and the call "Save". That should write the animation out.
Utkarsh.
Michael Martinec wrote:
> Hi
>
> I have created a *.pvd xml file which loads timestep and *.vtu file data
> into paraview.
> From paraview i can then save the animation to a *.avi file nicely. I
> could also create a python script which loads the *.pvd file and brings
> me to the state before saving it as an animation. But I do not know how
> to save the animation from the script. What do I have to apply to the
> python script?
>
> Regards and thanx for helping!
> *Michael
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
More information about the ParaView
mailing list