To create Value lists sequences

Hi dear community,

I find this really interesting pyth definition from @AndersDeleuran on the forum and I just would like to add a particular function, if maybe you could help me ! :smiley:

I would like to add a button or an input into the pyth component which permit to create some sequences of value list components on the gh canvas like AABBAABB or ABCABCABC etc etc

The best would be to have to possibility of writing a sequence on a panel (for example) linked to the python script component and then when we hit a button (linked to the pyth script component too) it creates the corresponding value list components on the gh canvas in the good order (cf the following picture on what I’m trying to reach)

Here is the project :
SPHERES_ALONG_SPLINES_INPUT_VALUE_LIST.3dm (804.2 KB)
SPHERES_ALONG_SPLINES_INPUT_VALUE_LIST.gh (71.0 KB)

Thank you in advance for your help