[Paraview] How to automatize some operations on ParaView
Scott, W Alan
wascott at sandia.gov
Wed Dec 23 12:51:44 EST 2009
I added the Python Trace code to the Sandia tutorials. The tutorials are on the Kitware Wiki, here: http://www.paraview.org/Wiki/SNL_ParaView_3_Tutorials. Then, open Advanced State Management.
Alan
________________________________
From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org] On Behalf Of myaccountmail9 myaccountmail9
Sent: Wednesday, December 23, 2009 12:52 AM
To: Moreland, Kenneth
Cc: paraview at paraview.org
Subject: Re: [Paraview] How to automatize some operations on ParaView
Is there any tutorial about using Python script for it?
Thank you
2009/12/21 Moreland, Kenneth <kmorel at sandia.gov<mailto:kmorel at sandia.gov>>
Luis,
With the 3.6.2 release candidate and the latest CVS you can use the Python tracing to build a Python script that does the operation you wish. You can then edit the script if necessary and make a macro for it.
One of the intentions of the Python tracing/macro capability is to make creating solutions to these repetitive processes easy. If you try this, let us know how it works for you.
-Ken
On 12/21/09 9:13 AM, "myaccountmail9 myaccountmail9" <myaccountmail9 at gmail.com<http://myaccountmail9@gmail.com>> wrote:
Hi David, thank you very much.
Custom filter is useful but it doesn't seem to be exactly what we would.
In fact, with this filter we obtain the final result.
Instead, we would preserve in our pipeline all operation:
1) slice
2) contours
3)...
Can anyone help us?
Thank you
2009/12/21 David Doria <daviddoria at gmail.com<http://daviddoria@gmail.com>>
On Mon, Dec 21, 2009 at 10:23 AM, myaccountmail9 myaccountmail9 <myaccountmail9 at gmail.com<http://myaccountmail9@gmail.com>> wrote:
Hi all,
could you please explain the way to automatize a sequence of operations?
For example, suppose I always have to apply on every input:
1) slice filter (with some plane...)
2) contour filter (on some variable, with some values interval...)
We would like to apply automatically these two operations after loading a generic input file.
W tried to use File -> Save state, but this saves the sequence and the input, and we won't the input.
Thank you
Luis
_______________________________________________
I believe you are looking for custom filters?
http://www.cmake.org/Wiki/Custom_Filters
Thanks,
David
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com> <http://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
**** Kenneth Moreland
*** Sandia National Laboratories
***********
*** *** *** email: kmorel at sandia.gov<http://kmorel@sandia.gov>
** *** ** phone: (505) 844-8919
*** web: http://www.cs.unm.edu/~kmorel<http://www.cs.unm.edu/%7Ekmorel>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20091223/369968dd/attachment.htm>
More information about the ParaView
mailing list