algorithmic modeling for Rhino
hello guys,
I am trying to import a data tree from grasshopper to python. and i choose list access as input type. but, later, when i try to get the length of the data tree, it gives the item numbers under each branches. actually, i want to get the numbers of tree branches. Also, when i print x[0], it give me the first item of all the branches. but what i want is items from the first branch???
how can i do this?
and also, i've read instructions in grasshopper.datatree. it said that you can get all items by grasshopper.datatree.alldata(self: datatree[T]). and in my case, i think the datatree[t] would be x. But it can't work.
So, can anyone tell me what datatree[T] refer to???
Tags:
Hi Aroving
Check the attached file,Datatree [T]) is used to create the datatree,http://bbs.shaper3d.com/thread-25794-1-2.html
Hi Aroving
Check the attached file,Datatree [T]) is used to create the datatree,http://bbs.shaper3d.com/thread-25794-1-2.html
HI
HI
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by