<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Pat, That did indeed work. Thanks!<div><br></div><div>-Randy</div><div><br><div><div>On Apr 7, 2010, at 10:21 PM, pat marion wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Ah, the trace state feature was added just after 3.6.2.<br><br>Since trace is implemented completely in python, it is possible to grab smtrace.py and smstate.py from paraview's cvshead, and then run it from the python console:<br>
<br>import paraview.smstate as st<br>st.run()<br>st.smtrace.save_trace("output.py")<br><br>It's possible some other python api changed that will prevent this from working, but if you can't wait for the 3.8 release, it might be worth giving a shot.<br>
<br>downloads-<br><br><a href="http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Utilities/VTKPythonWrapping/paraview/smstate.py?revision=1.5&root=ParaView3">http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Utilities/VTKPythonWrapping/paraview/smstate.py?revision=1.5&root=ParaView3</a><br>
<br><a href="http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Utilities/VTKPythonWrapping/paraview/smtrace.py?revision=1.19&root=ParaView3">http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Utilities/VTKPythonWrapping/paraview/smtrace.py?revision=1.19&root=ParaView3</a><br>
<br>Pat<br><br><br><div class="gmail_quote">On Wed, Apr 7, 2010 at 9:47 PM, Randy Heiland <span dir="ltr"><<a href="mailto:heiland@indiana.edu">heiland@indiana.edu</a>></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;">
<div style="">Thanks Pat. But I'm not seeing 'Trace State' there - just Start/Stop/Show/Edit/Save Trace. I'm using 3.6.2 (binary).<div><div></div><div class="h5"><div><br><div><br><div><div>On Apr 7, 2010, at 9:39 PM, pat marion wrote:</div>
<br><blockquote type="cite">Yes, it is possible. You'll want to use the python trace functionality. When you're ready to save the state, open the python console, switch to the trace tab, and click 'Trace State'. Then click 'Save Trace'.<br>
<br>Here are some more details- <a href="http://www.cmake.org/Wiki/Python_GUI_Tools" target="_blank">http://www.cmake.org/Wiki/Python_GUI_Tools</a><br><br>Pat<br><br><div class="gmail_quote">On Wed, Apr 7, 2010 at 9:10 PM, Randy Heiland <span dir="ltr"><<a href="mailto:heiland@indiana.edu" target="_blank">heiland@indiana.edu</a>></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;">I'm guessing the answer is no (and I couldn't find anything online), but I'll ask anyway - is it possible to export/generate a Python script from a ParaView session/state?<br>
<br>
thanks, Randy<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<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>
</blockquote></div><br>
</blockquote></div><br></div></div></div></div></div></blockquote></div><br>
</blockquote></div><br></div></body></html>