[Paraview-developers] Update request data
Maxim Glibin
maxim.glibin at gmail.com
Mon Dec 22 03:26:39 EST 2014
Dear Utkarsh,
I added a new "Modify" property on the "legacyreader" in XML.
In this case, Is the function Modified() called as existing function or I
need define it for the reader?
If I should define my own Modified() method then what this method have to
perform?
Because I still could not update the data.
Where did I go wrong?
Note: And I also want to implement it for all readers.
Thanks.
2014-12-19 21:38 GMT+03:00 Utkarsh Ayachit <utkarsh.ayachit at kitware.com>:
> 1. Add a new property on the "reader" in XML as follows:
>
> <Property name="Modify" command="Modified" />
>
> 2. To trigger an update, do this (assuming Python):
>
> > proxy = ...
> > proxy.InvokeCommand("Modify")
> > proxy.UpdatePipeline()
>
> Utkarsh
>
>
> On Fri, Dec 19, 2014 at 7:34 AM, Maxim Glibin <maxim.glibin at gmail.com>
> wrote:
> > Dear all,
> >
> > I am interested in updating of data if the file of reader has changed.
> > That is to say, I need call RequestData for vtkAlgorithm in python
> script or
> > properties panel widget.
> > Is it possible?
> >
> >
> > --
> > Yours Sincerely,
> > GLIBIN Maxim O. - Developer
> > Phone : +7 (987) 533 00 55
> > Email: maxim.glibin at gmail.com
> >
> >
> > _______________________________________________
> > Paraview-developers mailing list
> > Paraview-developers at paraview.org
> > http://public.kitware.com/mailman/listinfo/paraview-developers
> >
>
--
Yours Sincerely,
*GLIBIN Maxim O.* - Developer
Phone : +7 (987) 533 00 55
Email: maxim.glibin at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20141222/0b3eb72e/attachment.html>
More information about the Paraview-developers
mailing list