> Is it possible to disable showing the small window which shows the result of script?<br><br>Unfortunatley, no. Paraview can be compiled in a mode to do software rendering which does not require windows, but the paraview releases don't have this ability. If you're concerned about speed, it would be more efficient if you modified the python script so that it looped over the files in the same run, instead of having to start up and shut down each time, and it could re-used the same window.<br>
<br>Pat<br><br>p.s. please remember to cc the mailing list so that everyone can have a chance to reply<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">ali rostai</b> <span dir="ltr"><<a href="mailto:ali.rostai@gmail.com">ali.rostai@gmail.com</a>></span><br>
Date: Sun, Oct 2, 2011 at 8:13 PM<br>Subject: Re: [Paraview] problem with python script generated by trace for simple plot<br>To: pat marion <<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>><br><br>
<br>Hi Pat,<br><br>This was exactly what trace generated. The only change I made in the script was changing<br>of absolute paths to relative ones so that anyone can run the script....<br><br>I moved the WriteImage() to the end and pvpython generates again the same thing. Also when<br>
I run script from gui I see the correct result in gui but the png file this time is empty (just black view 660bytes files)<br><br><br>I was using Paraview 3.10.1 up to now and downloaded the paraview 3.12-RC last night<br>
and tried with that... Cool! pvpython seems to work and in the new generated script I can<br>see that WriteImage() is at the end of file.<br><br>And another Q that I have:<br>Is it possible to disable showing the small window which shows the result of script?<br>
It appears for a moment and then disappears. When running script on many files it<br>makes the process much slower. <br><br>Thanks a lot<br><font color="#888888">Ali<br>
</font></div><br>