[Paraview] Vis template by changing reader file names?

clinton at elemtech.com clinton at elemtech.com
Mon Aug 25 16:23:54 EDT 2008


Tools -> Manage Custom Filters ...  gives you an import and export option to 
share your custom filters with others.

Clint

On Monday 25 August 2008 2:21:38 pm Eric E. Monson wrote:
> Hey Clint,
>
> Yes, that's a great idea (which I've tried briefly, but haven't used
> much yet) for speeding up the process of setting it up from scratch
> each time. Is there an easy way of sharing custom filters, so that if
> I create some vis elements and combine them in custom filters, I could
> send them to the others in my research group so they could use the
> same parameters?
>
> I guess I was hoping there would be an easy way to change files "in
> place" after a pipeline had been set up (or a state file loaded), but
> I can see how that could cause problems if people choose the wrong
> file type.
>
> Thanks,
> -Eric
>
> On Aug 25, 2008, at 4:05 PM, clinton at elemtech.com wrote:
> > Have you tried putting your pipeline into a custom filters?
> > Select all the filters you want included, then create the custom
> > filter from
> > the group using the menu item  Tools -> Create Custom Filter...
> >
> > To use it, just open your file and apply the one filter.
> >
> > Clint
> >
> > On Monday 25 August 2008 1:22:48 pm Eric E. Monson wrote:
> >> Hey All,
> >>
> >> My group wants to use ParaView for debugging their simulation system,
> >> where they might output many different files in a day with tweaked
> >> parameters and want to quickly view the results to see whether things
> >> are changing the way they expect.
> >>
> >> The problem is that for each run there are three different output
> >> (unstructured grid) files, and to make a nice visualization each has
> >> to be glyphed or colored or filtered in some special way. I can do
> >> this, and it looks great, but it takes a while to set up each time a
> >> new set of files is generated, so it's a bit of a pain.
> >>
> >> Therefore, main question: Once a visualization pipeline is set up, is
> >> there any easy way to pick new files for the readers so new data
> >> could
> >> quickly be visualized using an existing "template"?
> >>
> >> I have tried reading in new files and using the "Change Input..."
> >> menu
> >> item, but it's a bit of a pain because it's a multi-step method that
> >> changes the order of items in the Pipeline Browser each time you do
> >> it. I know how to save a state file and then edit the source file
> >> names for the readers, but this takes the user out of ParaView and is
> >> a little clunky, but do-able. I can also write a python script that
> >> loads a state file and changes the input files and creates an
> >> animation automatically, but that isn't as flexible as looking at the
> >> data in ParaView itself. (I also tried to change a source file name
> >> from the Python shell within ParaView, but at least with an Xdmf
> >> file,
> >> that always crashes ParaView when I'm driving...)
> >>
> >> Am I missing something clean and easy? Is this a typical thing people
> >> would want to routinely do with ParaView?
> >>
> >> Thanks,
> >> -Eric
> >>
> >> ------------------------------------------------------
> >> Eric E Monson
> >> Duke Visualization Technology Group
> >>
> >> _______________________________________________
> >> ParaView mailing list
> >> ParaView at paraview.org
> >> http://www.paraview.org/mailman/listinfo/paraview




More information about the ParaView mailing list