[Paraview] saving multiple views

Arkajyoti Misra arkajyoti.misra at seagate.com
Fri Dec 16 11:55:16 EST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111216/b5319ae6/attachment.htm>


More information about the ParaView mailing list