[Paraview-developers] Fwd: [Paraview] problem with python script generated by trace for simple plot
pat marion
pat.marion at kitware.com
Sun Oct 2 22:43:33 EDT 2011
> Is it possible to disable showing the small window which shows the result
of script?
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.
Pat
p.s. please remember to cc the mailing list so that everyone can have a
chance to reply
---------- Forwarded message ----------
From: ali rostai <ali.rostai at gmail.com>
Date: Sun, Oct 2, 2011 at 8:13 PM
Subject: Re: [Paraview] problem with python script generated by trace for
simple plot
To: pat marion <pat.marion at kitware.com>
Hi Pat,
This was exactly what trace generated. The only change I made in the script
was changing
of absolute paths to relative ones so that anyone can run the script....
I moved the WriteImage() to the end and pvpython generates again the same
thing. Also when
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)
I was using Paraview 3.10.1 up to now and downloaded the paraview 3.12-RC
last night
and tried with that... Cool! pvpython seems to work and in the new generated
script I can
see that WriteImage() is at the end of file.
And another Q that I have:
Is it possible to disable showing the small window which shows the result of
script?
It appears for a moment and then disappears. When running script on many
files it
makes the process much slower.
Thanks a lot
Ali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20111002/90dbd726/attachment.htm>
More information about the Paraview-developers
mailing list