algorithmic modeling for Rhino
I am trying to pinpoint a specific item from an input (datatree) using Python.
On VB, it was pretty easy by saying "input_datatree.item(input_datatree.path(i),j)" but it seems like this is not the case for python.
Any comment, suggestion would be much appreciated. Thanks!
Python's indexing operator is the square bracket: [ ]
while Vb.Net uses the property named Item(value)
You should use then the square bracket, in a way similar to this: input_datatree[input_datatree.Path(i),j]
(I did not try it)
Thanks much! it worked!