There is also a short Python tutorial in The ParaView Tutorial 
(http://www.paraview.org/Wiki/The_ParaView_Tutorial) and there is  somewhat 
more complete documentation on the Python scripting on the Wiki 
(http://www.paraview.org/Wiki/ParaView/Python_Scripting).

-Ken


On 12/23/09 10:51 AM, "Scott, W Alan" <[email protected]> wrote:

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: [email protected]  [mailto:[email protected]] On 
Behalf Of myaccountmail9  myaccountmail9
Sent: Wednesday, December 23, 2009 12:52  AM
To: Moreland, Kenneth
Cc:  [email protected]
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 <[email protected]>


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" <[email protected] 
<http://[email protected]> >  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 <[email protected] <http://[email protected]> >




On Mon, Dec 21, 2009 at 10:23 AM, myaccountmail9  myaccountmail9 
<[email protected] <http://[email protected]> > 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: [email protected] <http://[email protected]>
**   ***  **  phone: (505)  844-8919
    ***      web:    http://www.cs.unm.edu/~kmorel 
<http://www.cs.unm.edu/%7Ekmorel>





   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: [email protected]
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

_______________________________________________
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