[Paraview] source name in python view

postgurke at web.de postgurke at web.de
Thu Oct 13 04:14:52 EDT 2016


Hi Felipe

Would GetSources(), maybe along with FindSource and SetActiveSource help you?
ALL=GetSources() gives you a dictionary of all sources in your session.

Cheers
Venke



> Felipe Bordeu <felipebordeu at gmail.com> hat am 12. Oktober 2016 um 15:15
> geschrieben:
> 
> 
> I use python view to plot some data allons my 3D visualisation. Can I get
> the name of the source inside the 'python view script' so I can know to
> which source belongs each line on my plot?.
> (I know I can set the name of a source using  RenameSource('Good Result ')
> )
> 
> 
> Felipe
> _______________________________________________
> 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


More information about the ParaView mailing list