[Paraview] Is it possible to prevent the render window to appear when using a python script?
Masquelet, Matthieu (GE Global Research)
masquelet at ge.com
Thu Jan 31 14:38:36 EST 2013
Hi,
I have a python script that loads a series of pvsm file to generate a sequence of animation. Here are a few pv-related statements in my script:
from paraview.simple import *
...
paraview.simple._DisableFirstRenderCameraReset() # Otherwise I get a zoomed out view when loading my pvsm file
...
for loop:
servermanager.LoadState(tmp2)
view = servermanager.GetRenderView()
view.StillRender()
...
view.WriteImage(...)
Delete(view)
During the loop the render window appears on the foreground, does not matter whether I run through pvpython or pvbatch. Is there a way around that? Not only would it be more convenient but also I assume it could be quite a bit faster.
Thanks in advance,
Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130131/2073fdb9/attachment.htm>
More information about the ParaView
mailing list