I am a beginner to Paraview and only recently started python scripting.
What I am trying to do is to save a sequence of screenshots with a split
view.
Here's what I'm doing:
------
View1 = GetRenderView()
View2 = GetRenderViews()[1]
AnimationScene1 = GetAnimationScene()
AnimationScene1.ViewModules = [View1, View2]
for n in range (Nsteps):
View1.ViewTime = n
View2.ViewTime = n
AnimationScene1.AnimationTime = n
WriteImage('test%03d.png' % n)
--------
Now my problem is, the png files have only the View1 snapshot. How can I
get both the views in a single snapshot?
I can do the job directly from the GUI and I looked at the trace but that
did not help much.
Any help is appreciated. Thanks.
--
Arko
_______________________________________________
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