Pls help me why the output has just one loft srf?

I tried to create a wall loft surface. but it just outcome with one loft. How to make the output to grasshopper with all loft surfaces without using loft component. Thank you
matrix (8.9 KB)
Martrix (1.9 KB)


Didn’t check your code but from the screenshot it seems as if you are assigning one instance from your loop to the result, instead of appending all instances in a list or adding them to an array so you can output it in the end.

Hope this helps