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. <[email protected]> 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: [email protected] [mailto:[email protected]]
> On Behalf Of Zenker, Dr. Matthias
> Sent: 08 March 2012 10:36
> To: [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
>
>
> _______________________________________________
> Paraview-developers mailing list
> [email protected]
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
_______________________________________________
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