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: [email protected]<mailto:[email protected]> 
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
 On Behalf Of Zenker, Dr. Matthias
Sent: 08 March 2012 10:36
To: [email protected]<mailto:[email protected]>
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
_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to