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?
Code:
oNode = xsi.Dictionary.GetObject("PolyIsland_Control.pointcloud.ICEtree")
oNode = oNode.NestedObjects
log(oNode.Count)
returns
Code:
# INFO : 4
Code:
oNode = xsi.Dictionary.GetObject("PolyIsland_Control.pointcloud.ICEtree")
oNode = oNode.NestedObjects
log(oNode.Item)
returns
Code:
# 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]