Hello Everyone, I am a beginner grasshopper user, I would like to ask if someone could give me a hint to solve a problem that I faced with the array in grasshopper.

I have a set of curves that are different in length, so what I am trying to do is to array a pattern according to the length of each curve so I divided each curve length on the pattern’s length to get approximately a set of Numbers X values. the X value in the array node seems that it took only one value and ignoring the others. so is there any possible way to make the X value in array input to be recognized as a list instead of one value?

i made it in this way as shown in the grasshopper file . i am very appricted for any help.

Array Pattern.gh (27.2 KB)