> Yes that would be possible, but this would invoke the whole
> visualization pipeline for each timestep in each animation, with the
> call of writer.Save(). If I do it this way, right?

Yes you are correct.

>>> * Run the animation manually (still using the animation scene) and save the
>>> views yourself.
>>>
> Do you mean to run the animation with scene.Play() and then save the
> screenshots of the popped up windows by hand? This would be possible,
> but it is not exactly, what I expect from an automated python script
> (then option one is in that case, my preferred one).

Not really, I think Berk means this:

for cur_time in  reader.TimestepValues.GetData()[:]:
    scene.AnimationTime = cur_time
    WriteImage("foo1.%f.png" % cur_time, view1);
    WriteImage("foo2.%f.png" % cur_time, view2);

Utkarsh
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to