[Paraview] get name of source in pipeline gui

Bob Flandard bflandard at gmail.com
Mon Jan 9 04:19:13 EST 2017


Perfect!

Thanks very much Mathieu.

Regards, Bob

On 9 January 2017 at 09:07, Mathieu Westphal <mathieu.westphal at kitware.com>
wrote:

> Hi
>
> pxm = servermanager.ProxyManager()
>
> a=GetActiveSource()
>
> pxm.GetProxyName('sources',a.SMProxy)
>
> 'Box1'
>
> Regards,
>
> Mathieu Westphal
>
> On Sun, Jan 8, 2017 at 12:37 PM, Bob Flandard <bflandard at gmail.com> wrote:
>
>> Hi,
>>
>> How to get the name of the active source in the pipeline? (the gui name)
>>
>> gas=GetActiveSource()
>>
>> Then what?
>>
>> I've spent an hour or more on this.
>>
>> Thanks, Bob
>>
>> _______________________________________________
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170109/cd031212/attachment.html>


More information about the ParaView mailing list