[Paraview-developers] Update request data

Sebastien Jourdain sebastien.jourdain at kitware.com
Fri Dec 19 12:52:18 EST 2014


It depends where the vtkObject is. Remote or Local.
If it is remote that will always return NULL.

A view proxy will hold vtkObjects on both ends.

On Fri, Dec 19, 2014 at 10:40 AM, Maxim Glibin <maxim.glibin at gmail.com>
wrote:
>
>
> The method sourceProxy.GetClientSideObject() returns None in case if you
> are connected to server.
> Connect("<host_name>")
>
>
>
> 2014-12-19 19:34 GMT+03:00 Sebastien Jourdain <
> sebastien.jourdain at kitware.com>:
>>
>> Just call Modified() on the proxy itself should work.
>>
>> You can read that http://markmail.org/thread/3rrgsuirivxa7nys
>>
>>
>>
>> On Fri, Dec 19, 2014 at 9:30 AM, Andy Bauer <andy.bauer at kitware.com>
>> wrote:
>>>
>>> I believe that sourceProxy.GetClientSideObject() will only return
>>> something other than None when you're using the built-in client.
>>>
>>> On Fri, Dec 19, 2014 at 11:13 AM, Maxim Glibin <maxim.glibin at gmail.com>
>>> wrote:
>>>
>>>> Small remark: Update(sourceProxy=None) function of paraview.simple
>>>> module doesn't work because sourceProxy.GetClientSideObject() returns
>>>> None.
>>>>
>>>> 2014-12-19 16:34 GMT+03:00 Maxim Glibin <maxim.glibin at gmail.com>:
>>>>>
>>>>> 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
>>>>>
>>>>>
>>>>
>>>> --
>>>> 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
>>>>
>>>>
>>> _______________________________________________
>>> 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/20141219/bd3ab734/attachment.html>


More information about the Paraview-developers mailing list