[Paraview] [EXTERNAL] Auto save images
Scott, W Alan
wascott at sandia.gov
Tue Apr 16 15:33:45 EDT 2013
Maybe try upgrading to the latest/greatest ParaView on the web site? It is 3.98.1. What is your platform? If you don't see Python Shell under the Tools tab, your issue has changed from "how to create and run this script" to "Why don't I have Python".
Alan
From: Daniel WEI [mailto:lakeat at gmail.com]
Sent: Tuesday, April 16, 2013 1:15 PM
To: Scott, W Alan
Cc: paraview
Subject: Re: [EXTERNAL] [Paraview] Auto save images
Wait, I can't find what you said "start/stop trace", nor can I find any python under tools menu? Am I using a wrong paraview? My is ParaView 3.14.1 64 bit. Ubuntu
Thanks, and Yes, that is basically what I need. Ultimately, I would hope I can save images for my velocity field or pressure field without opening paraview window, I hope I can just modify the script to do it.
Daniel WEI
----------------------
University of Notre Dame
On Tue, Apr 16, 2013 at 3:08 PM, Scott, W Alan <wascott at sandia.gov<mailto:wascott at sandia.gov>> wrote:
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> [mailto: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/b15ab6da/attachment.htm>
More information about the ParaView
mailing list