The Dump.py script was designed using the old python interface to paraview. 3.2 introduced the new servermanager python interface, and nobody has developed a new Dump.py that works with it.<br><br><div class="gmail_quote">
On Nov 29, 2007 6:36 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;">
Jordi,<br><br>Your Dump.py script looks like a tool that could be really useful to me.<br>However, when using the script with PV3.2.0 (with several sources and<br>filters created) I only get the output listed below (and which 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 and<br>RenderM<br> paraview.ActiveConnection
= paraview.Connect()<br> renderM = paraview.CreateRenderWindow()<br>else:<br> renders = 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></blockquote></div><br>