algorithmic modeling for Rhino
Hi.
Inside a C#-Script button am generating several Point lists I want to add them to a tree and use the in Grasshopper.
Code-snippets:
DataTree<List<Point3d>> output = new DataTree<List<Point3d>>();
// inside a for loop:
List<Point3d> curveA = new List<Point3d>();
List<Point3d> curveB = new List<Point3d>();
.... fill the lists ...
// add to tree
int[] branchPath = new int[2] {k, 0};
output.Add(curveA, new GH_Path(branchPath));
branchPath[1] = 1;
output.Add(curveB, new GH_Path(branchPath));
.....
Instead of giving me a tree I can work with, the tree contains 2 System.Collection.Generic.List .. which are not recognised in Grasshopper. The values are not reachable...
If I skip the tree and return only one list, it works fine...
Any thoughts?
Cheers from the Switch the LampiOn Workshop in Trier
Tags:
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
© 2024 Created by Scott Davidson. Powered by