[Paraview] [EXTERNAL] Auto save images

Scott, W Alan wascott at sandia.gov
Tue Apr 16 15:08:06 EDT 2013


Daniel,

Yes, there is.  Create a Python script of what you want to do.  Easiest way is to open ParaView, Tools/ Start Trace, do your work, Tools/ Stop Trace.  Save the file somewhere.  To test it, start ParaView from scratch (or just delete everything in the pipeline browser), Tools/ Python Shell/ Run Script/ select the python script you choose earlier.

Then, close ParaView, and run your script with pvbatch your-script.py

Is that what you are asking?

Alan

From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org] On Behalf Of Daniel WEI
Sent: Tuesday, April 16, 2013 12:44 PM
To: paraview
Subject: [EXTERNAL] [Paraview] Auto save images

Hi all

Is there a way to run paraview in batch mode. I want to save images automatically.

What I am doing is pretty simple, use paraview to view an flow field and then pan it and zoom into a certain region and then save the screenshot. That's it. I dont want to repeat this operation all the time. I want to do it for all my cases in the back-end and in batch mode without opening paraview window.

Is it possible? How? What kind of scripts should I write?

Many thanks in advance!




Daniel WEI
----------------------
University of Notre Dame
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130416/74359d6b/attachment.htm>


More information about the ParaView mailing list