[Paraview] ParaView newbie with a (hopefully) simple question

Shawn Waldon shawn.waldon at kitware.com
Mon Aug 7 15:08:31 EDT 2017


Hi Amy,

The easiest way would probably be this:

ParaView should automatically recognize the sequence of numbered files and
give you an option to load "mbdout_r000102_s000001_e..vtm" in the file
dialog.  This will load the data as a time series with one data file per
step.  Then you can apply the "Group Time Steps" filter which reads all the
time steps into a multiblock dataset (the equivalent of running Group
Dataset on them).  Of course if your dataset has a time dimension too, you
will have trouble reading that since you are already using time for
something else...

I see Ufuk has replied since I started typing this and his python scripting
approach may be superior if your dataset has time steps already.

HTH,
Shawn

On Mon, Aug 7, 2017 at 2:55 PM, Amelia Launspach <amylaunspach at gmail.com>
wrote:

> Hello everyone,
>
> I was assigned a small project on ParaView and I need help getting started.
>
> I need to find a way to loop through N number of source files in the
> Pipeline Browser and return the count for number N and group them together
> using the group dataset filter.
>
> Each time I upload the data it will be a different number of files that
> look something like this:
> [image: Inline image 1]
> Right now there are N=22 files but the N will differ each time. So I want
> to create a script/or programmable filter that will loop through every file
> in the pipeline browser, add it to a group dataset, and lastly print the
> number N.
>
> How would I begin to do this? Can this be done with a simple script that I
> can just copy and paste each time in the shell? Would it be easier to build
> a programmable filter?
>
> Any help would be appreciated !
>
> Thanks,
> Amy
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170807/22bad335/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2017-08-07 at 1.25.06 PM.png
Type: image/png
Size: 130460 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170807/22bad335/attachment-0001.png>


More information about the ParaView mailing list