Dear all:

I'm trying to use a small script to automatically load a state and create an 
image. Here it is:

from paraview.simple import *
servermanager.LoadState("toto.pvsm")
SetActiveView(GetRenderView())
Render()
WriteImage("toto.png")

The script runs well, but the created file is all black except for the axes 
etc. I'm running Linux. Any help would be highly appreciated.

Martin
_______________________________________________
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