Thanks Pat, that&#39;s what I was looking for. I&#39;ll attempt to get the new version running and try out that trace mechanism. Thanks,<br><br>Jon<br><br><div class="gmail_quote">On Sat, Aug 22, 2009 at 10:20 AM, pat marion <span dir="ltr">&lt;<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Jon,<br>
<br>
Yes, in fact there is a new feature in paraview called python trace<br>
that generates python scripts using the paraview python api (<br>
<a href="http://paraview.org/Wiki/ParaView/Python_Scripting" target="_blank">http://paraview.org/Wiki/ParaView/Python_Scripting</a> )  In order to get<br>
this feature you need to checkout the current development version of<br>
paraview from cvs.  Paraview doesn&#39;t come with makefiles, instead we<br>
use CMake to generate makefiles.  Instructions can be found here<br>
<a href="http://paraview.org/Wiki/ParaView:Build_And_Install" target="_blank">http://paraview.org/Wiki/ParaView:Build_And_Install</a> .<br>
<br>
Python trace is still a very new feature, but it works well for many<br>
basic tasks. It won&#39;t handle everything though.  Instructions for<br>
using trace can be found on this page<br>
<a href="http://paraview.org/Wiki/Python_GUI_Tools" target="_blank">http://paraview.org/Wiki/Python_GUI_Tools</a> .<br>
<br>
When you reply remember to cc the paraview list too.<br>
<font color="#888888"><br>
Pat<br>
</font><div><div></div><div class="h5"><br>
On Sat, Aug 22, 2009 at 11:31 AM, Jonathan Murray&lt;<a href="mailto:jcokemurray@gmail.com">jcokemurray@gmail.com</a>&gt; wrote:<br>
&gt; Pat,<br>
&gt; I did manage to build paraview 3.6.1 using a makefile (supplied with the<br>
&gt; OpenFOAM distribution that I am using) called makeParaView-python and<br>
&gt; supplying a path to libpython2.5... That seems to have turned on both<br>
&gt; embedded python and python testing.<br>
&gt;<br>
&gt; I tried writing a test run to a python script and it appears to work.<br>
&gt; However, it appears to produce code specific to manipulating the Paraview<br>
&gt; GUI. I was sort of hoping for something that would record code that calls<br>
&gt; the paraview data processing functions directly from python (like recording<br>
&gt; VBA code macros for Excel). Does ParaView have any such capability? Thanks a<br>
&gt; bunch!<br>
&gt;<br>
&gt; Jon<br>
&gt;<br>
&gt; On Fri, Aug 21, 2009 at 7:48 PM, Jonathan Murray &lt;<a href="mailto:jcokemurray@gmail.com">jcokemurray@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Pat,<br>
&gt;&gt; The version is 3.6.1 and I just downloaded the tar.gz with the binaries<br>
&gt;&gt; already for linux32 built from the paraview website. When I look at<br>
&gt;&gt; Help-&gt;About, I do see embedded python is on (and Tools-&gt;Python Shell works)<br>
&gt;&gt; but python testing is off. Is this something I need to rebuild from source<br>
&gt;&gt; to turn on?<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt;<br>
&gt;&gt; Jon<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Aug 21, 2009 at 2:48 PM, pat marion &lt;<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi Jon,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Where did you install paraview from, and what version is it?  If you<br>
&gt;&gt;&gt; go to Help --&gt; About, there should be a box called Client Information<br>
&gt;&gt;&gt; that will tell you if embedded python and python testing is enabled or<br>
&gt;&gt;&gt; not.  Some versions of paraview are built without python, maybe yours<br>
&gt;&gt;&gt; falls into this category.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Pat<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Fri, Aug 21, 2009 at 4:30 PM, Jonathan Murray&lt;<a href="mailto:jcokemurray@gmail.com">jcokemurray@gmail.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt; Hi all,<br>
&gt;&gt;&gt; &gt; I am new to ParaView (and this mailing list) and I&#39;m interested in the<br>
&gt;&gt;&gt; &gt; ability to automate Paraview operations with python scripts. I noticed<br>
&gt;&gt;&gt; &gt; in<br>
&gt;&gt;&gt; &gt; the online documentation that the &quot;Record Test&quot; function should allow<br>
&gt;&gt;&gt; &gt; one to<br>
&gt;&gt;&gt; &gt; produce XML or python scripts for a recorded set of actions performed<br>
&gt;&gt;&gt; &gt; in the<br>
&gt;&gt;&gt; &gt; GUI. However, in my installation, I only have the option of recording<br>
&gt;&gt;&gt; &gt; XML,<br>
&gt;&gt;&gt; &gt; it appears. Does anyone know if the python recording capability is<br>
&gt;&gt;&gt; &gt; implemented, or is it still on the way? Thanks,<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Jon<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt;&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt;&gt; &gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt;&gt; &gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>