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: [email protected] [mailto:[email protected]] 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
_______________________________________________
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