That code was written for the old python interface, I am pretty sure that if you want that to run in 3.2 you will have to update the code.<br><br><div class="gmail_quote">On Nov 14, 2007 8:08 AM, David Farrell <<a href="mailto:d-farrell2@northwestern.edu">
d-farrell2@northwestern.edu</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;"><div style="">Hi Berk,<div><br></div><div>Was this the script you were thinking of?
</div><div><br></div><div><font size="3"><span style="font-size: 12px;"><a href="http://public.kitware.com/pipermail/paraview/2007-July/005394.html" target="_blank">http://public.kitware.com/pipermail/paraview/2007-July/005394.html
</a></span></font></div><div><font size="3"><span style="font-size: 12px;"><br></span></font></div><div><font size="3"><span style="font-size: 12px;"><br></span></font></div><div><font size="3"><span style="font-size: 12px;">
Dave</span></font></div><div><div></div><div class="Wj3C7c"><div><br></div><div><br><div><div>On Nov 12, 2007, at 6:12 PM, Berk Geveci wrote:</div><br><blockquote type="cite"><div style="margin: 0px;">Hi Dave,</div><div style="margin: 0px; min-height: 14px;">
<br></div><div style="margin: 0px;">There is a tool (a python script) going around that converts state xml</div><div style="margin: 0px;">files to python scripts. Someone will probably respond with a copy. It</div><div style="margin: 0px;">
should be probably put on the paraview wiki. There is documentation</div><div style="margin: 0px;">for the python interface available on the wiki:</div><div style="margin: 0px;"><a href="http://paraview.org/Wiki/images/f/f9/Servermanager2.pdf" target="_blank">
http://paraview.org/Wiki/images/f/f9/Servermanager2.pdf</a></div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">-berk</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">
On 11/12/07, David Farrell <<a href="mailto:d-farrell2@northwestern.edu" target="_blank">d-farrell2@northwestern.edu</a>> wrote:</div> <blockquote type="cite"><div style="margin: 0px;">Hi all,</div><div style="margin: 0px; min-height: 14px;">
<br></div><div style="margin: 0px;">In the 2.x series of paraview, I recall there was an option like 'save batch</div><div style="margin: 0px;">script' , which was an easy way to get a start on creating a batch script
</div><div style="margin: 0px;">(say do it for 1 outputfile, then modify the text file with a loop to do</div><div style="margin: 0px;">many of the same operation)</div><div style="margin: 0px; min-height: 14px;"><br></div>
<div style="margin: 0px;">It appears there is no such option now that the scripting has been switched</div><div style="margin: 0px;">to python, or am I just missing how to do it? Is there some way to get this</div><div style="margin: 0px;">
from the 'save state' option (which seems to be xml, not python)?</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">If there isn't, is there any free documentation available on how to set them
</div><div style="margin: 0px;">up? In my brief search, I couldn't seem to find even an example file.</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">Thanks,</div><div style="margin: 0px; min-height: 14px;">
<br></div><div style="margin: 0px;">Dave</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px; min-height: 14px;">
<br></div><div style="margin: 0px;">David E. Farrell</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">Graduate Student</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">
Mechanical Engineering</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">Northwestern University</div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">email:
<a href="mailto:d-farrell2@northwestern.edu" target="_blank">d-farrell2@northwestern.edu</a></div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">
_______________________________________________</div><div style="margin: 0px;">ParaView mailing list</div><div style="margin: 0px;"><a href="mailto:ParaView@paraview.org" target="_blank">ParaView@paraview.org</a></div><div style="margin: 0px;">
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a></div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px; min-height: 14px;">
<br></div> </blockquote></blockquote></div><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<p style="margin: 0px;"><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal; font-size: 12px;" face="Helvetica" size="3">
<span style="font-size: 12px;">David E. Farrell</span></font></p><p style="margin: 0px;"><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal; font-size: 12px;" face="Helvetica" size="3">
<span style="font-size: 12px;">Graduate Student</span></font></p><p style="margin: 0px;"><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal; font-size: 12px;" face="Helvetica" size="3">
<span style="font-size: 12px;">Mechanical Engineering</span></font></p><p style="margin: 0px;"><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal; font-size: 12px;" face="Helvetica" size="3">
<span style="font-size: 12px;">Northwestern University</span></font></p><p style="margin: 0px;"><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal; font-size: 12px;" face="Helvetica" size="3">
<span style="font-size: 12px;">email: <a href="mailto:d-farrell2@northwestern.edu" target="_blank">d-farrell2@northwestern.edu</a></span></font></p><br></span> </div><br></div></div></div></div><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><br></blockquote></div><br>