Thanks Pat, that's what I was looking for. I'll attempt to get the new version running and try out that trace mechanism. Thanks,
Jon On Sat, Aug 22, 2009 at 10:20 AM, pat marion <[email protected]> wrote: > Hi Jon, > > Yes, in fact there is a new feature in paraview called python trace > that generates python scripts using the paraview python api ( > http://paraview.org/Wiki/ParaView/Python_Scripting ) In order to get > this feature you need to checkout the current development version of > paraview from cvs. Paraview doesn't come with makefiles, instead we > use CMake to generate makefiles. Instructions can be found here > http://paraview.org/Wiki/ParaView:Build_And_Install . > > Python trace is still a very new feature, but it works well for many > basic tasks. It won't handle everything though. Instructions for > using trace can be found on this page > http://paraview.org/Wiki/Python_GUI_Tools . > > When you reply remember to cc the paraview list too. > > Pat > > On Sat, Aug 22, 2009 at 11:31 AM, Jonathan Murray<[email protected]> > wrote: > > Pat, > > I did manage to build paraview 3.6.1 using a makefile (supplied with the > > OpenFOAM distribution that I am using) called makeParaView-python and > > supplying a path to libpython2.5... That seems to have turned on both > > embedded python and python testing. > > > > I tried writing a test run to a python script and it appears to work. > > However, it appears to produce code specific to manipulating the Paraview > > GUI. I was sort of hoping for something that would record code that calls > > the paraview data processing functions directly from python (like > recording > > VBA code macros for Excel). Does ParaView have any such capability? > Thanks a > > bunch! > > > > Jon > > > > On Fri, Aug 21, 2009 at 7:48 PM, Jonathan Murray <[email protected]> > > wrote: > >> > >> Hi Pat, > >> The version is 3.6.1 and I just downloaded the tar.gz with the binaries > >> already for linux32 built from the paraview website. When I look at > >> Help->About, I do see embedded python is on (and Tools->Python Shell > works) > >> but python testing is off. Is this something I need to rebuild from > source > >> to turn on? > >> > >> Thanks, > >> > >> Jon > >> > >> On Fri, Aug 21, 2009 at 2:48 PM, pat marion <[email protected]> > >> wrote: > >>> > >>> Hi Jon, > >>> > >>> Where did you install paraview from, and what version is it? If you > >>> go to Help --> About, there should be a box called Client Information > >>> that will tell you if embedded python and python testing is enabled or > >>> not. Some versions of paraview are built without python, maybe yours > >>> falls into this category. > >>> > >>> Pat > >>> > >>> On Fri, Aug 21, 2009 at 4:30 PM, Jonathan Murray<[email protected] > > > >>> wrote: > >>> > Hi all, > >>> > I am new to ParaView (and this mailing list) and I'm interested in > the > >>> > ability to automate Paraview operations with python scripts. I > noticed > >>> > in > >>> > the online documentation that the "Record Test" function should allow > >>> > one to > >>> > produce XML or python scripts for a recorded set of actions performed > >>> > in the > >>> > GUI. However, in my installation, I only have the option of recording > >>> > XML, > >>> > it appears. Does anyone know if the python recording capability is > >>> > implemented, or is it still on the way? Thanks, > >>> > > >>> > Jon > >>> > > >>> > _______________________________________________ > >>> > 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 > >>> > > >>> > > >> > > > > >
_______________________________________________ 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
