Join Lists


Hello guys ,
I was wondering how can I join these lists in a way so that sub lists 0,0 are joined together, then List 1,1 are joined together etc…
Is there anyway I can do that ?

1 Like

@ahmadkhalaf7892 ,

thats a step forward…

# Phython-Standard- und DesignScript-Bibliotheken laden
import sys
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

# Die Eingaben für diesen Block werden in Form einer Liste in den IN-Variablen gespeichert.
points = IN[0]
morepoints = IN[1]

OUT = []

for i in zip(points,morepoints):
	OUT.append(i)


Hi Andreas, Thanks a lot but as you can see in the picture above I still want sub lists 0,1 to be considered as one list I tried using flatten but they were all combined

1 Like

I just used transpose with levels again, Thanks a lot

1 Like

This is also a solution Maybe?

1 Like

this is Great Gilberto , Thanks a lot

List.Combine with a List.Join as combinator also might work

1 Like

Amigo @Daan, I have tried it and it actually works, just be careful to add the same amount of lists in both nodes, thanks for the tip!

1 Like