[Paraview] [Paraview-developers] reload data

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Mar 9 15:17:45 EST 2012


John,

(I haven't read the full thread so I may be missing something here, so
bear with me)

I am wondering what's the difference between a vtkSMCommandProperty
and vtkSMProperty? ParaView ServerManager does support using
vtkSMProperty directly for the purpose you mentioned. Maybe all we
need to add is suppose for create the "push button" when such a
property is found in the XML, isn't it?

Utkarsh

On Fri, Mar 9, 2012 at 9:44 AM, 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
>


More information about the ParaView mailing list