Help modifying list data

Hi guys

Im hoping someone might be able to advise me on the correct way to modify this list of data. I made this script for some parametric stairs but realised i would need a landing and a second set to reach the next floor level.

the issue with my script at the moment is that the second run of stairs is starting from the wrong end. i need the Z value of the first step after the landing, to swap with the value of the last last step and so on and so on.

I had tried to rotate the lines for the second set but that wasn’t working for a couple of reasons.

any help would be massively appreciated! Cheers guys

Parametric (33.7 KB)

reverse this:

Parametric (30.0 KB)


haha of course it was something as simple as that!

Thankyou very much my guy!!

1 Like

pleas mark @inno s post as solution - so others don t need to dig into this topic. - thanks
(there is a checkbox solution, under the post)