<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3640" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=836464917-23122009><FONT face=Arial
color=#0000ff size=2>I added the Python Trace code to the Sandia
tutorials. The tutorials are on the Kitware Wiki, here: <A
href="http://www.paraview.org/Wiki/SNL_ParaView_3_Tutorials">http://www.paraview.org/Wiki/SNL_ParaView_3_Tutorials</A>.
Then, open Advanced State Management.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=836464917-23122009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=836464917-23122009><FONT face=Arial
color=#0000ff size=2>Alan</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> paraview-bounces@paraview.org
[mailto:paraview-bounces@paraview.org] <B>On Behalf Of </B>myaccountmail9
myaccountmail9<BR><B>Sent:</B> Wednesday, December 23, 2009 12:52
AM<BR><B>To:</B> Moreland, Kenneth<BR><B>Cc:</B>
paraview@paraview.org<BR><B>Subject:</B> Re: [Paraview] How to automatize some
operations on ParaView<BR></FONT><BR></DIV>
<DIV></DIV>Is there any tutorial about using Python script for
it?<BR><BR>Thank you<BR><BR><BR>
<DIV class=gmail_quote>2009/12/21 Moreland, Kenneth <SPAN dir=ltr><<A
href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</A>></SPAN><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV><FONT face="Calibri, Verdana, Helvetica, Arial"><SPAN
style="FONT-SIZE: 11pt">Luis,<BR><BR>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.<BR><BR>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.<BR><BR>-Ken
<DIV>
<DIV></DIV>
<DIV class=h5><BR><BR><BR>On 12/21/09 9:13 AM, "myaccountmail9
myaccountmail9" <<A href="http://myaccountmail9@gmail.com"
target=_blank>myaccountmail9@gmail.com</A>>
wrote:<BR><BR></DIV></DIV></SPAN></FONT>
<BLOCKQUOTE>
<DIV>
<DIV></DIV>
<DIV class=h5><FONT face="Calibri, Verdana, Helvetica, Arial"><SPAN
style="FONT-SIZE: 11pt">Hi David, thank you very much.<BR>Custom filter is
useful but it doesn't seem to be exactly what we would.<BR>In fact, with
this filter we obtain the final result.<BR>Instead, we would preserve in
our pipeline all operation:<BR><BR>1) slice<BR>2)
contours<BR>3)...<BR><BR>Can anyone help us?<BR>Thank
you<BR><BR><BR>2009/12/21 David Doria <<A
href="http://daviddoria@gmail.com"
target=_blank>daviddoria@gmail.com</A>><BR></SPAN></FONT></DIV></DIV>
<BLOCKQUOTE>
<DIV>
<DIV></DIV>
<DIV class=h5><FONT face="Calibri, Verdana, Helvetica, Arial"><SPAN
style="FONT-SIZE: 11pt">On Mon, Dec 21, 2009 at 10:23 AM, myaccountmail9
myaccountmail9 <<A href="http://myaccountmail9@gmail.com"
target=_blank>myaccountmail9@gmail.com</A>> wrote:<BR></SPAN></FONT>
<BLOCKQUOTE><FONT face="Calibri, Verdana, Helvetica, Arial"><SPAN
style="FONT-SIZE: 11pt">Hi all,<BR>could you please explain the way to
automatize a sequence of operations?<BR><BR>For example, suppose I
always have to apply on every input:<BR><BR>1) slice filter (with some
plane...)<BR>2) contour filter (on some variable, with some values
interval...)<BR><BR>We would like to apply automatically these two
operations after loading a generic input file.<BR>W tried to use File
-> Save state, but this saves the sequence and the input, and we
won't the input.<BR><BR>Thank
you<BR>Luis<BR><BR>_______________________________________________<BR><BR></SPAN></FONT></BLOCKQUOTE></DIV></DIV><FONT
face="Calibri, Verdana, Helvetica, Arial"><SPAN style="FONT-SIZE: 11pt">
<DIV>
<DIV></DIV>
<DIV class=h5>I believe you are looking for custom filters?<BR><A
href="http://www.cmake.org/Wiki/Custom_Filters"
target=_blank>http://www.cmake.org/Wiki/Custom_Filters</A><BR><BR>Thanks,<BR><BR>David
<BR><BR><BR>_______________________________________________<BR></DIV></DIV>Powered
by <A href="http://www.kitware.com" target=_blank>www.kitware.com</A>
<<A href="http://www.kitware.com"
target=_blank>http://www.kitware.com</A>> <BR>
<DIV class=im><BR>Visit other Kitware open-source projects at <A
href="http://www.kitware.com/opensource/opensource.html"
target=_blank>http://www.kitware.com/opensource/opensource.html</A><BR><BR>Please
keep messages on-topic and check the ParaView Wiki at: <A
href="http://paraview.org/Wiki/ParaView"
target=_blank>http://paraview.org/Wiki/ParaView</A><BR><BR>Follow this
link to subscribe/unsubscribe:<BR><A
href="http://www.paraview.org/mailman/listinfo/paraview"
target=_blank>http://www.paraview.org/mailman/listinfo/paraview</A><BR><BR></DIV></SPAN></FONT></BLOCKQUOTE><FONT
face="Calibri, Verdana, Helvetica, Arial"><SPAN
style="FONT-SIZE: 11pt"><BR><BR></SPAN></FONT></BLOCKQUOTE><FONT
face="Calibri, Verdana, Helvetica, Arial"><SPAN
style="FONT-SIZE: 11pt"><BR></SPAN></FONT><FONT size=1><FONT
face="Monaco, Courier New"><SPAN
style="FONT-SIZE: 7.5pt"><BR> ****
Kenneth
Moreland<BR> *** Sandia
National Laboratories<BR>*********** <BR>*** *** *** email: <A
href="http://kmorel@sandia.gov" target=_blank>kmorel@sandia.gov</A><BR>**
*** ** phone: (505)
844-8919<BR> *** web:
<A href="http://www.cs.unm.edu/%7Ekmorel"
target=_blank>http://www.cs.unm.edu/~kmorel</A><BR></SPAN></FONT></FONT><FONT
face="Calibri, Verdana, Helvetica, Arial"><SPAN
style="FONT-SIZE: 11pt"><BR></SPAN></FONT></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>