[Paraview] Saving screen shots of multiple views from an animation with python
Oliver Borm
oli.borm at web.de
Tue Jan 12 17:19:06 EST 2010
Thanks a lot, this would be an option. As in that case, a reinvokation
of the pipeline is also not needed for each view.
>>>> * 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
>
More information about the ParaView
mailing list