<p>+1</p>
<p>I've been thinking about doing that for a while!</p>
<div class="gmail_quote">On 9 Mar 2012 14:45, "Biddiscombe, John A." <<a href="mailto:biddisco@cscs.ch">biddisco@cscs.ch</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Matthias,<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Using the topic_CommandProperty branch on the stage git repo<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I added the following to readers.xml under the
<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New","serif";color:blue"> <</span><span style="font-family:"Courier New","serif";color:#a31515">SourceProxy</span><span style="font-family:"Courier New","serif";color:blue">
</span><span style="font-family:"Courier New","serif";color:red">name</span><span style="font-family:"Courier New","serif";color:blue">=</span><span style="font-family:"Courier New","serif"">"<span style="color:blue">XMLUnstructuredGridReaderCore</span>"<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New","serif";color:blue"> …<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New","serif";color:blue"> <</span><span style="font-family:"Courier New","serif";color:#a31515">CommandProperty</span><b><span style="font-family:"Courier New","serif""><u></u><u></u></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New","serif";color:blue">
</span><span style="font-family:"Courier New","serif";color:red">name</span><span style="font-family:"Courier New","serif";color:blue">=</span><span style="font-family:"Courier New","serif"">"<span style="color:blue">Reload</span>"<b><u></u><u></u></b></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New","serif";color:blue">
</span><span style="font-family:"Courier New","serif";color:red">label</span><span style="font-family:"Courier New","serif";color:blue">=</span><span style="font-family:"Courier New","serif"">"<span style="color:blue">Reload Data</span>"<b><u></u><u></u></b></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New","serif";color:blue">
</span><span style="font-family:"Courier New","serif";color:red">command</span><span style="font-family:"Courier New","serif";color:blue">=</span><span style="font-family:"Courier New","serif"">"<span style="color:blue">Modified</span>"<b><u></u><u></u></b></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New","serif";color:blue">
</span><span style="font-family:"Courier New","serif";color:red">si_class</span><span style="font-family:"Courier New","serif";color:blue">=</span><span style="font-family:"Courier New","serif"">"<span style="color:blue">vtkSIProperty</span>"<span style="color:blue">></span><b><u></u><u></u></b></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New","serif";color:blue"> </</span><span style="font-family:"Courier New","serif";color:#a31515">CommandProperty</span><span style="font-family:"Courier New","serif";color:blue">></span><b><span style="font-family:"Courier New","serif""><u></u><u></u></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-family:"Courier New","serif""><u></u> <u></u></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">JB<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a> <a href="mailto:[mailto:paraview-bounces@paraview.org]" target="_blank">
[mailto:paraview-bounces@paraview.org]</a> <b>On Behalf Of </b>Zenker, Dr. Matthias<br>
<b>Sent:</b> 08 March 2012 10:36<br>
<b>To:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> [Paraview] reload data<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Hi,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">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?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Thank you,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Matthias<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
_____________________________________________________________________<br>
ERBE Elektromedizin GmbH<br>
Firmensitz: 72072 Tuebingen<br>
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede<br>
Registergericht: Stuttgart HRB 380137<span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
</div>
</div>
<br>_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
<br></blockquote></div>