algorithmic modeling for Rhino
Hi Everyone,
I am currently trying to put a list of curves into sub-divided lists of curves. The number of sub-groups are randomly generated, and the number of curves in each subgroup is varied (some could contain 1 curve only, some would contain multiple).
The reason for this is, all the curves in the same subgroup would be subjected to the same operation, different from other subgroups. Such as move or scale.
Does anyone have a clue to how I could achieve this? Does VB.net even support this? lists within a list?
Thanks all!!
Tags:
maybe you can use DataTree,
like..
Dim crvData as new DataTree(of Curve)
for int i = 0 to 10
Dim pth as new GH_Path(i)
crvData.Add(yourCurve, pth)
next
then you can get the Curve Lists in the DataTree {0}, {1},,, {9}
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