algorithmic modeling for Rhino
A data tree is not a nested collection. You have to actually create a new DataTree<string> instance instead of string[,]
DataTree<string> tree = new DataTree<string>();
tree.Add(new GH_Path(0,0,0), "a1");
tree.Add(new GH_Path(0,0,0), "a2");
tree.Add(new GH_Path(0,0,0), "a3");
tree.Add(new GH_Path(0,0,1), "b1");
tree.Add(new GH_Path(0,0,1), "b2");
tree.Add(new GH_Path(0,0,1), "b3");
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