[Paraview] reload data

Zenker, Dr. Matthias Matthias.Zenker at erbe-med.com
Thu Mar 8 04:58:47 EST 2012


Hi John,

I am using the legacy vtk reader, at least I think so. Since I do not have to select a reader at file open, I don't know for 100% sure what ParaView does under the hood when opening my files. But they are in binary vtu format (vtk unstructured grid). I hope this is enough information. If not, how can I find out?

Thank you,

Matthias


Von: Biddiscombe, John A. [mailto:biddisco at cscs.ch]
Gesendet: Donnerstag, 8. März 2012 10:50
An: Zenker, Dr. Matthias; paraview at paraview.org
Betreff: RE: reload data

I recently (just a few days ago), checked some code into the stage branch which adds support for "Command Buttons" which you can add using XML like this

    <CommandProperty
      name="Reload"
      label="Reload Data"
      command="Insert member function here">
    </CommandProperty>

and this is generated in the GUI panel for the filter as a button which triggers the command when the next Accept is clicked (or immediately if auto-accept is on). It just like all the Set/Get stuff with variables, but has no arguments, just a DoSomething trigger - just what you need.

If you tell me exactly which reader you are using, I will add this XML and test the reload feature you want.

If we're lucky, we can get it accepted in the next pv1.14 patch release

JB


From: paraview-bounces at paraview.org<mailto:paraview-bounces at paraview.org> [mailto:paraview-bounces at paraview.org]<mailto:[mailto:paraview-bounces at paraview.org]> On Behalf Of Zenker, Dr. Matthias
Sent: 08 March 2012 10:36
To: paraview at paraview.org<mailto: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


_____________________________________________________________________
ERBE Elektromedizin GmbH
Firmensitz: 72072 Tuebingen
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
Registergericht: Stuttgart HRB 380137

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120308/705bf8f8/attachment.htm>


More information about the ParaView mailing list