How to change the pattern of the horizontal lines between the vertical ones?

Hi,

I have a file where the vertical lines can be changed if there must be a diffrence in rows which lines should be drawn and which not.

But i want to make horizontal lines between the vertical ones with the same properties as the vertical lines. I cant get it done that the horizontal lines can be drawn per vertical line. Now its just says yer or no for a horizontal line but now the lines in one row.

Does someone know how i could fix this?

Thanks in advance!

GiorgioLinesTest.gh (13.2 KB)

I got it kind off but i want that the lines goes between the points and not that its connected to the distance between the verticals. Now the distance is the same every time but what if the distance are variables, like one distance is 5000 mm and the other one is 3500 mm.LinesTest.gh (15.7 KB)