[Paraview] Simple script severe slowdown in loop

2012-06-12 Thread Andrew Pearson
Hi all. I'm a newbie to both ParaView and Python scripting. I have a large number of *.raw files that I wish to load, visualize and save via a screenshot. To do this, I used the start/stop trace feature to produce a python script for one instance, edited the python script by adding a for loop,

Re: [Paraview] Simple script severe slowdown in loop

2012-06-12 Thread Pat Marion
Hi Andrew, You're loading new data each loop, and never removing it. For starters, you could try adding a Delete call inside the loop after WriteImage: Delete(rho_180x180x180_frame0010_subs01_total_raw) Pat On Tue, Jun 12, 2012 at 1:03 PM, Andrew Pearson andrew.j.pear...@gmail.comwrote: