algorithmic modeling for Rhino
In VB:
Array: Dim matriz as Integer() = new Integer(2){4, 6,1}
List: Dim lista as List(of integer) = new List(of integer)From{2,4,7}
DataTree: ¿?
In C#:
Array: int[] matriz = new int[3] {0,3,5};
List: List<int> lista = new List<int> {3, 2, 2 };
DataTree: ¿?
I would like to fill the tree with gh_paths (not the content of each branch). Is posible?
Thanks.
Tags:
I don't think so, perhaps with LINQ, but I don't do LINQ.
I'd just write:
foreach (GH_Path path in paths)
tree.EnsurePath(path);
where paths can be any collection of GH_Path instances.
Ok, not bad.
Thank you David.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2025 Created by Scott Davidson.
Powered by