[Paraview] How to automatize some operations on ParaView

Moreland, Kenneth kmorel at sandia.gov
Mon Dec 21 11:37:25 EST 2009


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> 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>
On Mon, Dec 21, 2009 at 10:23 AM, myaccountmail9 myaccountmail9 <myaccountmail9 at 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>

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
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20091221/3e82bd8a/attachment.htm>


More information about the ParaView mailing list