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

_______________________________________________
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