Re: [Paraview] animation: files, pgmable source

2017-12-09 Thread Utkarsh Ayachit
Randy, Here's how I'd proceed. 1. Create a programmable source to read a file series as a temporal dataset. (you have this already). 2. Let the users use ParaView to save animation or screenshots once they are satisfied. 3. You can put the "Extract TimeSteps" filter after your reader (before any

Re: [Paraview] animation: files, pgmable source

2017-12-08 Thread Heiland, Randy
Have a user read in a state file to experiment with a pipeline/filters on a single data file, e.g. they may have 1000 files and they want to initially look at the last one. When they’re content with the vis on a single file, they’d like to view an animation in PV on all (or mod N) files. When

Re: [Paraview] animation: files, pgmable source

2017-12-08 Thread Utkarsh Ayachit
Randy, Mind explaining to me what;s your ultimate goal? The way I see it, there are two options: 1. Provide your users with a state file that they load in ParaView UI and then use the UI to save animation or images. Use the UI to move back and forth through the timesteps, etc. 2. Provide your

Re: [Paraview] animation: files, pgmable source

2017-12-08 Thread Heiland, Randy
No, no, I’m sure it’s *me* who’s confused. I’m not sure I understand what you’re saying. Are you suggesting keeping the (full) range of timesteps in my script and then, somehow, only render the one of interest? If so, that would be great, except the way things are currently working for me,

Re: [Paraview] animation: files, pgmable source

2017-12-08 Thread Utkarsh Ayachit
Oops. I meant to say -- "I am a little confused here" :). On Fri, Dec 8, 2017 at 10:10 AM, Utkarsh Ayachit wrote: > Hmm, little confused here? Why not keep the timesteps in the reader > unchanged and explcitly do the timestep of interest and save > screenshot? > > On

Re: [Paraview] animation: files, pgmable source

2017-12-08 Thread Utkarsh Ayachit
Hmm, little confused here? Why not keep the timesteps in the reader unchanged and explcitly do the timestep of interest and save screenshot? On Thu, Dec 7, 2017 at 10:51 AM, Heiland, Randy wrote: > Utkarsh, > > Thanks very much for that! Yes, after some fiddling, I got it to

Re: [Paraview] animation: files, pgmable source

2017-12-07 Thread Heiland, Randy
Utkarsh, Thanks very much for that! Yes, after some fiddling, I got it to work, i.e., I can save .png files for an animation! So now that I’m using the Programmable Source(RequestInfo) script to accomplish the animation, how do I, during a PV session, *easily* switch back to render a single

Re: [Paraview] animation: files, pgmable source

2017-12-06 Thread Utkarsh Ayachit
Randy, You attempting to mix the Python scripting for data processing and Python scripting for batch scripting. The two environments are separate. Here's how I'd tackle it. 1. Make your "Programmable Source" become a temporal source i.e. report to ParaView that it can produce timesteps matching