How can I apply a different graph mapper to each one of this columns?

Hi, I’m developing a code for a uni task. I want to make some random parametric columns, each one with a different profile. I have reached the point where I have a column with the graph mapper profile, but I can’t think of a way of selecting groups of columns and giving them different profiles.
It can be random, let’s say I have 2 columns with a Parabola graph, three others with Bezier and so on
I am having a hard time creating a dispatch pattern because it selects half of the points of each line…
Could you help me achieve this? I’m attaching the code
parametric columns.gh (15.5 KB)

Thank you!

Don’t select “groups” - that means you have to understand data trees - instead select your lines before they become groups, much easier.

Also - “it can be random” isn’t helpful, different conditions have different approaches (some easier, some harder, we could do completely random and it wouldn’t really be helping you because the logic would become too abstract for where you are in your learning journey) - here is one way to think about it (look up how to use ExplodeTree). For what you’re trying to do, ListItem would probably be sufficient, you haven’t got that many columns to choose from

http://grasshopperprimer.com/en/1-foundations/1-4/0_designing-with-lists.html

parametric columns.gh (11.6 KB)

1 Like