Hey Berk,
Say I have a pipeline with a box and point source, from the Python
shell (CVS Feb 18, 2009):
Python 2.5.2 |EPD 2.5.2001| (r252:60911, Aug 4 2008, 13:45:20)
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
>>> from paraview.simple import *
>>> pm = servermanager.ProxyManager()
>>> pm.GetProxiesInGroup("sources")
{('Box1', '363'): <paraview.servermanager.Box object at 0x224c5670>,
('PointSource1', '114'): <paraview.servermanager.PointSource object at
0x224c5530>}
>>>
I can program around it, but I was just curious what the the second
member of the tuple is for.
-Eric
On Feb 23, 2009, at 9:03 PM, Berk Geveci wrote:
GetProxiesInGroup() should return a dictionary where the keys are the
proxy names and the values are the proxies themselves. Is that not the
case?
-berk
On Thu, Feb 19, 2009 at 3:30 PM, Eric E. Monson
<[email protected]> wrote:
Hey,
I was just trying out some python state loading (outside of
ParaView) for
saving animations, and my old scripts are not working.
pm = servermanager.ProxyManager()
pm.GetProxiesInGroup("sources")
now seems to return a dictionary where the keys are a tuple of two
strings
(a name and a number) instead of just a name string. Has something
changed
in CVS recently, or am I doing something screwy?
Thanks,
-Eric
------------------------------------------------------
Eric E Monson
Duke Visualization Technology Group
_______________________________________________
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
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________
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
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview