[Paraview-developers] How to get active session from a plugin ?

houssen houssen at ipgp.fr
Sat Aug 8 08:59:49 EDT 2015


This is finally working : I can access data from the pipeline browser !
 From now, I should get all what I need to do the "real" stuffs I need 
to do.

Thanks,

Franck

Le 2015-08-07 15:10, Sebastien Jourdain a écrit :
> Hi Franck,
>
> Try to add/edit those lines
>
> spProxyIterator->SetModeToOneGroup();
> spProxyIterator->Begin("sources");
>
> You can find some useful code examples in Python within the following
> file (look at line 1716):
> => ParaView-src/Web/Python/paraview/web/protocols.py
>
> But you will have to follow those method calls to
> ParaView-src/Wrapping/Python/paraview/servermanager.py to get the
> proper C++ mapping.
>
> Good luck,
>
> Seb
>
> On Fri, Aug 7, 2015 at 4:25 AM, houssen <houssen at ipgp.fr [6]> wrote:
>
>> Oh, yes !... :D Like often debug code is bugged himself.
>> I wish all softwares could be bug-proof like THE one :
>> http://bernardbelanger.com/computing/NaDa/index.php [1].
>>
>> Franck
>>
>> Le 2015-08-07 0:02, Ben Boeckel a écrit :
>>
>>> On Thu, Aug 06, 2015 at 23:48:26 +0200, houssen wrote:
>>>
>>>> 124           vtkObjectBase * pObj = pProxy ->
>>>> GetClientSideObject ();
>>>> 125           msg << "n  Proxy client obj : " << pObj
>>>> -> GetClassName ();
>>>
>>> According to the backtrace, pObj is NULL here. I can't remember
>>> off hand
>>> what makes the CSO NULL though :/ .
>>>
>>>> Le 2015-08-06 23:34, houssen a écrit :
>>>> > (gdb) bt
>>>> > #0  0x00007ffff1e3db76 in vtkObjectBase::GetClassName
>>>> (this=0x0) at
>>>
>>> --Ben
>>
>> _______________________________________________
>> Powered by www.kitware.com [2]
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html [3]
>>
>> Search the list archives at:
>> http://markmail.org/search/?q=Paraview-developers [4]
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview-developers [5]
>
>
>
> Links:
> ------
> [1] http://bernardbelanger.com/computing/NaDa/index.php
> [2] http://www.kitware.com
> [3] http://www.kitware.com/opensource/opensource.html
> [4] http://markmail.org/search/?q=Paraview-developers
> [5] http://public.kitware.com/mailman/listinfo/paraview-developers
> [6] mailto:houssen at ipgp.fr



More information about the Paraview-developers mailing list