I have created for myself a puzzle. I am certain that this puzzle is solvable with nothing but native dynamo (ie no scripting) but I am at my wit’s end trying to figure it out. Here is the situation:
I have a list of 10 points, let’s call this List A.
I have 10 lists of points of varying length. Lets call these Lists B1 through B10.
I want to connect the points in B1 to the first point in List A, and the points in list B2 to the second point in list A, etc.
This is the goal:
So far I have only been able to achieve this with a python script. Some dynamo native things I have tried:
-
Connect list A to lists B1-b10 - didn’t work.
-
Put each item in list A in its own list by list.mapping list.create (to create lists A1-A10 with one item a piece), then connect to lists B1-B10 - didn’t work.
-
Try Longest List lacing or Cross Reference lacing on scenario 2 - didn’t work.
-
Try a List.Combine on a Line.ByStartPointEndPoint with A1-10 and B1-10 from scenario 2 - didn’t work.
-
Reconstruct the whole definition so that Connect N Points To Center is a function and use List.Combine to map it across the points and counts - didn’t work
-
Do 5 but make Connect N Points to Center its own custom node and use list.combine to map it - DOES work, however, it fails the fundamental problem statement, which is “what do I do when I start with these two lists”
Am I missing something fundamental? How would you dynamonsters approach this?
Download my failed attempts here: whyyyy