Getting nodes in a ICEtree
Posted: 09 Jul 2012, 20:42
Im trying to get get a collection of nodes in a ICEtree and look through them individually. I can get a collection with 4 items, but when I try to access the elements individually I get nothing... Any ideas?
returns
returns
Code: Select all
oNode = xsi.Dictionary.GetObject("PolyIsland_Control.pointcloud.ICEtree")
oNode = oNode.NestedObjects
log(oNode.Count)
Code: Select all
# INFO : 4
Code: Select all
oNode = xsi.Dictionary.GetObject("PolyIsland_Control.pointcloud.ICEtree")
oNode = oNode.NestedObjects
log(oNode.Item)
Code: Select all
# ERROR : Traceback (most recent call last):
# File "<Script Block >", line 9, in <module>
# log(oNode.Item(1))
# TypeError: 'NoneType' object is not callable
# - [line 9]