<div dir="ltr"><div><div><div>Hi Amy,<br><br></div>I think a Python scripting approach is probably the best solution then.<br><br></div>When replying to a thread on a mailing list, make sure you hit reply all so that the mailing list stays in the conversation.  I have added the ParaView users list back to the cc.<br><br></div>Shawn<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 7, 2017 at 3:21 PM, Amelia Launspach <span dir="ltr"><<a href="mailto:amylaunspach@gmail.com" target="_blank">amylaunspach@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It does already have a time dimension which I eventually was going to change from 'VTK Color Block' to 'time' after I had grouped all of the data together. So until then, I am trying to think of a solution to automatically group all the data together upon loading.. <div><br></div><div>Thank you for your input! This is my first time using the mailing list and I am pleasantly surprised by how quick people respond :)</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 7, 2017 at 2:08 PM, Shawn Waldon <span dir="ltr"><<a href="mailto:shawn.waldon@kitware.com" target="_blank">shawn.waldon@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Amy,<br><br></div>The easiest way would probably be this:<br><br></div>ParaView should automatically recognize the sequence of numbered files and give you an option to load "mbdout_r000102_s000001_e..vtm<wbr>" 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...<br><br></div><div>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.<br></div><div><br></div>HTH,<br></div>Shawn<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_1927719124372581445h5">On Mon, Aug 7, 2017 at 2:55 PM, Amelia Launspach <span dir="ltr"><<a href="mailto:amylaunspach@gmail.com" target="_blank">amylaunspach@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_1927719124372581445h5"><div dir="ltr"><span style="font-size:13px">Hello everyone,</span><div style="font-size:13px"><br></div><div style="font-size:13px">I was assigned a small project on ParaView and I need help getting started.</div><div style="font-size:13px"><br></div><div style="font-size:13px">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.</div><div style="font-size:13px"><br></div><div style="font-size:13px">Each time I upload the data it will be a different number of files that look something like this:</div><div style="font-size:13px"><img src="cid:ii_15dbe0d31f06cf16" alt="Inline image 1" width="511" height="460"><br></div><div style="font-size:13px"><div>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. </div><div><br></div><div>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?</div><div><br></div><div>Any help would be appreciated !</div><div><br></div><div>Thanks,</div><div>Amy</div></div></div>
<br></div></div><span>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>