[Paraview] [Paraview-developers] reload data

Paul Edwards paul.m.edwards at gmail.com
Fri Mar 9 13:17:30 EST 2012


+1

I've been thinking about doing  that for a while!
On 9 Mar 2012 14:45, "Biddiscombe, John A." <biddisco at cscs.ch> wrote:

>  Matthias,****
>
> ** **
>
> Using the topic_CommandProperty branch on the stage git repo****
>
> ** **
>
> I added the following to readers.xml under the ****
>
>    <SourceProxy name="XMLUnstructuredGridReaderCore"****
>
>      …****
>
>      <CommandProperty**
>
>        name="Reload"**
>
>        label="Reload Data"**
>
>        command="Modified"**
>
>        si_class="vtkSIProperty">**
>
>      </CommandProperty>**
>
> * *
>
> and a button is created inside the panel for the reader (the file series
> reader also needs to expose the property because the reader is actually
> inside the file series reader).****
>
> When you click the button the client side proxy is marked as modified, and
> when you hit accept the Modified function is called on the server side
> object (the reader) – this then triggers a re-execution and the reader
> rereads from disk.****
>
> ** **
>
> All works as expected. I shall see if I can get this accepted into the
> next patch release as I believe it is a very handy capability to have in a
> number of places. I’ll add the xml changes and push them too, but perhaps
> other readers (of the list) might suggest which other readers (of files)
> need this feature added.****
>
> ** **
>
> JB****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* paraview-bounces at paraview.org
> [mailto:paraview-bounces at paraview.org] *On Behalf Of *Zenker, Dr. Matthias
> *Sent:* 08 March 2012 10:36
> *To:* paraview at paraview.org
> *Subject:* [Paraview] reload data****
>
> ** **
>
> Hi,****
>
>  ****
>
> I would like to watch a running transient simulation producing one binary
> vtu file per timestep. Is there a way to reload the current data set so
> that newly written timesteps are included (e.g. in the “Plot selection over
> time” filter), without closing and reopening the whole dataset?****
>
>  ****
>
> Thank you,****
>
>  ****
>
> Matthias****
>
>  ****
>
>
>
> _____________________________________________________________________
> ERBE Elektromedizin GmbH
> Firmensitz: 72072 Tuebingen
> Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
> Registergericht: Stuttgart HRB 380137****
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120309/9253214a/attachment.htm>


More information about the ParaView mailing list