<div dir="ltr">thanks for the hint but m'i unable to find a way to map the filter id to the data ID <div>(inside the python view script ) </div><div><br></div><div>def Render(View,figure):</div><div><div>  from paraview.simple import *</div><div>  names = { x[1]:x[0] for x in GetSources().keys()}</div><div>  print(names)</div><div>  for i in xrange(view.GetNumberOfVisibleDataObjects()):</div><div>      print(view.GetVisibleRepresentation(i).GetUniqueIdentifier())</div><div><br></div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-13 10:14 GMT+02:00  <span dir="ltr"><<a href="mailto:postgurke@web.de" target="_blank">postgurke@web.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Felipe<br>
<br>
Would GetSources(), maybe along with FindSource and SetActiveSource help you?<br>
ALL=GetSources() gives you a dictionary of all sources in your session.<br>
<br>
Cheers<br>
Venke<br>
<br>
<br>
<br>
> Felipe Bordeu <<a href="mailto:felipebordeu@gmail.com">felipebordeu@gmail.com</a>> hat am 12. Oktober 2016 um 15:15<br>
> geschrieben:<br>
<div><div class="h5">><br>
><br>
> I use python view to plot some data allons my 3D visualisation. Can I get<br>
> the name of the source inside the 'python view script' so I can know to<br>
> which source belongs each line on my plot?.<br>
> (I know I can set the name of a source using  RenameSource('Good Result ')<br>
> )<br>
><br>
><br>
> Felipe<br>
</div></div>> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>