[Paraview] get name of source in pipeline gui

Mathieu Westphal mathieu.westphal at kitware.com
Mon Jan 9 04:07:41 EST 2017


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/fd19859e/attachment.html>


More information about the ParaView mailing list