[Paraview] Scripting Paraview.

Berk Geveci berk.geveci at gmail.com
Thu Jul 20 16:20:52 EDT 2006


This requires writing a state and then editing it. The state is a Tcl script
so it should be relatively easy to put a loop around it. Just  a warning,
creating 600 pipeline objects in a loop might not work well
performance-wise. I would recommend deleting the pipeline objects at the end
of each iteration.
Also, working with trace as opposed to state might be easier. Trace does not
save out as much info as state.

-Berk

On 7/20/06, Mike Jackson <imikejackson at gmail.com> wrote:
>
> What I want to be able to do is load up one of these data sets and
> just apply the pipeline to it. The end result is a Triangle Surface
> mesh for 3D viewing and saving.
>
> I actually already have a program written with VTK that does just
> this. Except that the program is on one machine and Paraview is on
> another. I was hoping that if I could just have the pipeline ready in
> a script file, the scientists could bring me their .vti file, and then
> I can just apply the script and out pops my triangle mesh complete
> with proper coloring and all that.
>
> Also, Time animation is something that we would like to look at doing.
> I fiddled with some of it over the weekend but not ready to go much
> further with it right now.
>
> I was just hoping to be able to apply a script to an already loaded
> dataset.
>
> Mike Jackson
>
> On 7/20/06, Andy Cedilnik <andy.cedilnik at kitware.com> wrote:
> > Hi Mike,
> >
> > You can write a script that will generate 600 states.
> >
> > What is really your end result? Do you want to animate? If so, just
> > click on timesteps and generate a time series out of your dataset.
> >
> >        Andy
> >
> > Mike Jackson wrote:
> > > Hello,
> > >    I have a pipeline that was developed (Thanks Andy) in paraview for
> > > a given data set. I now have about 600 of those datasets. I see that I
> > > can save a session state from paraview and reload it when I relaunch
> > > Paraview. But the session state seems to be really tied to the
> > > datafile on disk. What I really want is to be able to load one of
> > > those data sets, then load up a script that acts on that dataset, not
> > > the original dataset from the disk.
> > >   How would I best accomplish this.
> > >
> > > Thanks
> > >
> > > ------
> > > Mike Jackson
> > > Senior Research Engineer/New Visualization Engineer
> > > mike.jackson at imts.us
> > >
> > >
> > > _______________________________________________
> > > ParaView mailing list
> > > ParaView at paraview.org
> > > http://www.paraview.org/mailman/listinfo/paraview
> >
> >
> > --
> > Andy Cedilnik
> > Kitware Inc.
> >
> >
>
>
> --
> Mike Jackson
> imikejackson _at_ gee-mail dot com
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20060720/65d33272/attachment.htm


More information about the ParaView mailing list