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 / 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 <<a href="mailto:sylvester.gerardson@gmail.com">
sylvester.gerardson@gmail.com</a>> 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 <<a href="mailto:sylvester.gerardson@gmail.com">sylvester.gerardson@gmail.com</a>><br>wrote:<br><br><br> Jordi,<br><br> Your
Dump.py script looks like a tool that could be really useful to<br>me.<br> However, when using the script with PV3.2.0 (with several sources<br>and<br> filters created) I only get the output listed below (and which
<br>doesn't even<br> run).<br> Do you know what am I doing wrong?<br><br> Thanks you.<br><br> Regards,<br> Sylvester<br><br><br> #!/usr/local/bin/pvpython<br> # <script>.py
<br> import paraview<br> if paraview.ActiveConnection == None : CONSOLE = True<br> else : CONSOLE = False<br> if CONSOLE: # init Conn
<br>and<br> RenderM<br> paraview.ActiveConnection = paraview.Connect()<br> renderM = paraview.CreateRenderWindow()<br> else:<br> renders =<br>paraview.pyProxyManager().GetProxiesInGroup("multirendermodule",
<br><br> paraview.ActiveConnection)<br> renderM = renders.values ()[0].GetRenderModules()[0]<br><br> if CONSOLE:<br> renderM.ResetCamera()<br> renderM.StillRender()<br> raw_input("Enter to finish")
<br> #import time ; time.sleep(2)<br><br><br> _______________________________________________<br> 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><<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">
http://www.paraview.org/mailman/listinfo/paraview</a>><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>