<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hey Berk,<div><br></div><div>Say I have a pipeline with a box and point source, from the Python shell (CVS Feb 18, 2009):</div><div><br></div><div><div style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; font-size: 9px; "><!--StartFragment--><span style="font-family: Courier; color: rgb(0, 0, 255); font-size: 12px; ">Python 2.5.2 |EPD 2.5.2001| (r252:60911, Aug  4 2008, 13:45:20) </span></div><div style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; font-family: Courier; color: rgb(0, 0, 255); ">[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin</div><div style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; font-family: Courier; color: rgb(0, 0, 255); "><span style=" color:#000000;">>>> </span><span style=" color:#000096;">from paraview.simple import *</span></div><div style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; font-family: Courier; color: rgb(0, 150, 0); "><span style=" color:#000000;">>>> pm = servermanager.ProxyManager()</span></div><div style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; font-family: Courier; color: rgb(0, 0, 0); ">>>> pm.GetProxiesInGroup("sources")</div><div style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; font-family: Courier; color: rgb(0, 0, 0); "><span style=" color:#009600;">{('Box1', '363'): &lt;paraview.servermanager.Box object at 0x224c5670>, ('PointSource1', '114'): &lt;paraview.servermanager.PointSource object at 0x224c5530>}</span></div><div style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; font-family: Courier; color: rgb(0, 150, 0); "><span style=" color:#000000;">>>>&nbsp;</span><!--EndFragment--></div><div><div><br></div><div>I can program around it, &nbsp;but I was just curious what the the second member of the tuple is for.</div><div><br></div><div>-Eric</div><div><br></div><div><br></div><div>On Feb 23, 2009, at 9:03 PM, Berk Geveci wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>GetProxiesInGroup() should return a dictionary where the keys are the<br>proxy names and the values are the proxies themselves. Is that not the<br>case?<br><br>-berk<br><br>On Thu, Feb 19, 2009 at 3:30 PM, Eric E. Monson &lt;<a href="mailto:emonson@cs.duke.edu">emonson@cs.duke.edu</a>> wrote:<br><blockquote type="cite">Hey,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I was just trying out some python state loading (outside of ParaView) for<br></blockquote><blockquote type="cite">saving animations, and my old scripts are not working.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">pm = servermanager.ProxyManager()<br></blockquote><blockquote type="cite">pm.GetProxiesInGroup("sources")<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">now seems to return a dictionary where the keys are a tuple of two strings<br></blockquote><blockquote type="cite">(a name and a number) instead of just a name string. Has something changed<br></blockquote><blockquote type="cite">in CVS recently, or am I doing something screwy?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite">-Eric<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">------------------------------------------------------<br></blockquote><blockquote type="cite">Eric E Monson<br></blockquote><blockquote type="cite">Duke Visualization Technology Group<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Powered by <a href="http://www.kitware.com">www.kitware.com</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Visit other Kitware open-source projects at<br></blockquote><blockquote type="cite"><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Please keep messages on-topic and check the ParaView Wiki at:<br></blockquote><blockquote type="cite"><a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Follow this link to subscribe/unsubscribe:<br></blockquote><blockquote type="cite"><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br></blockquote><blockquote type="cite"><br></blockquote></div></blockquote></div><br></div></body></html>