What are your plans for the dump tool?<br><br>If you are looking for an introduction to writing python scripts for paraview, I recommend reading the servermanager pdf. This can be found at: <font size="-1"><span class="a">
<b>paraview</b>.org/Wiki/images/f/f9/<b>Servermanager</b>2.pdf<br><br>If you want something like state saving / loading from python, both of those options are now aviable with the commands LoadState&nbsp; / SaveState. Reading the 
servermanager.py (found in Utilities/VTKPythonWrapping) will show you some to of abilities plus it has some great examples.<br></span></font><br><div class="gmail_quote">On Dec 3, 2007 6:43 AM, Sylvester Gerardson &lt;<a href="mailto:sylvester.gerardson@gmail.com">
sylvester.gerardson@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thank you for your reply.<br><br>Do you know of any plans to update 
Dump.py to the new servermanager python<br>interface?<br><br>Regards,<br>Sylvester<br><br>________________________________<br><br>From: <a href="mailto:thorin.hax@gmail.com">thorin.hax@gmail.com</a> [mailto:<a href="mailto:thorin.hax@gmail.com">
thorin.hax@gmail.com</a>] On Behalf Of Robert<br>Maynard<br>Sent: Thursday, November 29, 2007 2:42 PM<br>To: Sylvester Gerardson; <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>Subject: Re: [Paraview] Learning PV internals helped by the PV-GUI and
<br>python<br><div><div></div><div class="Wj3C7c"><br><br>The Dump.py script was designed using the old python interface to paraview.<br>3.2 introduced the new servermanager python interface, and nobody has<br>developed a new 
Dump.py that works with it.<br><br><br>On Nov 29, 2007 6:36 AM, Sylvester Gerardson &lt;<a href="mailto:sylvester.gerardson@gmail.com">sylvester.gerardson@gmail.com</a>&gt;<br>wrote:<br><br><br> &nbsp; &nbsp; &nbsp; &nbsp;Jordi,<br><br> &nbsp; &nbsp; &nbsp; &nbsp;Your 
Dump.py script looks like a tool that could be really useful to<br>me.<br> &nbsp; &nbsp; &nbsp; &nbsp;However, when using the script with PV3.2.0 (with several sources<br>and<br> &nbsp; &nbsp; &nbsp; &nbsp;filters created) I only get the output listed below (and which
<br>doesn&#39;t even<br> &nbsp; &nbsp; &nbsp; &nbsp;run).<br> &nbsp; &nbsp; &nbsp; &nbsp;Do you know what am I doing wrong?<br><br> &nbsp; &nbsp; &nbsp; &nbsp;Thanks you.<br><br> &nbsp; &nbsp; &nbsp; &nbsp;Regards,<br> &nbsp; &nbsp; &nbsp; &nbsp;Sylvester<br><br><br> &nbsp; &nbsp; &nbsp; &nbsp;#!/usr/local/bin/pvpython<br> &nbsp; &nbsp; &nbsp; &nbsp;# &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;script&gt;.py
<br> &nbsp; &nbsp; &nbsp; &nbsp;import paraview<br> &nbsp; &nbsp; &nbsp; &nbsp;if &nbsp; &nbsp; paraview.ActiveConnection == None : CONSOLE = True<br> &nbsp; &nbsp; &nbsp; &nbsp;else &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : CONSOLE = False<br> &nbsp; &nbsp; &nbsp; &nbsp;if CONSOLE: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # init Conn
<br>and<br> &nbsp; &nbsp; &nbsp; &nbsp;RenderM<br> &nbsp; &nbsp; &nbsp; &nbsp; paraview.ActiveConnection = paraview.Connect()<br> &nbsp; &nbsp; &nbsp; &nbsp; renderM = paraview.CreateRenderWindow()<br> &nbsp; &nbsp; &nbsp; &nbsp;else:<br> &nbsp; &nbsp; &nbsp; &nbsp; renders =<br>paraview.pyProxyManager().GetProxiesInGroup(&quot;multirendermodule&quot;,
<br><br> &nbsp; &nbsp; &nbsp; &nbsp;paraview.ActiveConnection)<br> &nbsp; &nbsp; &nbsp; &nbsp; renderM = renders.values ()[0].GetRenderModules()[0]<br><br> &nbsp; &nbsp; &nbsp; &nbsp;if CONSOLE:<br> &nbsp; &nbsp; &nbsp; &nbsp; renderM.ResetCamera()<br> &nbsp; &nbsp; &nbsp; &nbsp; renderM.StillRender()<br> &nbsp; &nbsp; &nbsp; &nbsp; raw_input(&quot;Enter to finish&quot;)
<br> &nbsp; &nbsp; &nbsp; &nbsp; #import time ; time.sleep(2)<br><br><br> &nbsp; &nbsp; &nbsp; &nbsp;_______________________________________________<br> &nbsp; &nbsp; &nbsp; &nbsp;ParaView mailing list<br> &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>&lt;<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">
http://www.paraview.org/mailman/listinfo/paraview</a>&gt;<br><br><br><br><br></div></div>_______________________________________________<br><div><div></div><div class="Wj3C7c">ParaView mailing list<br><a href="mailto:ParaView@paraview.org">
ParaView@paraview.org</a><br><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br></div></div></blockquote></div><br>