[Paraview] Fetching Data via Script and Interactively

2010-04-06 Thread Matthew Cragun
I have a bit of code where I read in a data file, extract a small portion of it and then integrate the variables of the extracted portion. In my python code I then fetch the data from the server with the intent to write it out to a log file. The issue that I have come across is when I run my scri

Re: [Paraview] Fetching Data via Script and Interactively

2010-04-06 Thread pat marion
Try calling avgData.UpdatePipeline(). The filters are not actually executed until there is demand. Usually a call to Render() causes this demand, but for IntegrateVariables there is nothing to render. Not sure if Fetch is supposed to automatically called UpdatePipeline or not. Pat On Tue, Apr

Re: [Paraview] Fetching Data via Script and Interactively

2010-04-06 Thread Matthew Cragun
Pat, Thanks for the reply. I tried giving an UpdatePipeline() call, but seemed to be the same result. Any other thoughts? Matt On Tue, Apr 6, 2010 at 2:07 PM, pat marion wrote: > Try calling avgData.UpdatePipeline(). The filters are not actually > executed until there is demand. Usually a ca

Re: [Paraview] Fetching Data via Script and Interactively

2010-04-06 Thread Matthew Cragun
Another interesting anomaly. If I use the shell and run the script once, so I have a pipeline of three objects, I get zeros. If I then run it again immediately so I have a second pipeline of the same three objects, it then outputs correctly. Matt On Tue, Apr 6, 2010 at 2:20 PM, Matthew Cragun