[Paraview-developers] Update request data

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Dec 19 13:38:59 EST 2014


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
>


More information about the Paraview-developers mailing list