Walls next to each other

Is there a way to know if a wall is next to each other and has the same angle?
As shown below, I have selected these four walls ( 1-4), and I am trying to figure out if the wall is next to each other and with the same angle. Basically I am trying to single out the walls inside the red circle since they are adjacent to each other.

So far I filtered the exterior/interior walls and then I tried to figure out the direction fo the line. After that, I tried using the " Get elements at ends" and it does tell me which walls are adjacent to each other but it doesn’t tell me if they are perpendicular/ parallel to each other.
image

Thank you in advance, and let me know if it doesn’t make sense what I am asking.

It’s not clear to me, but you can use the Group Parallel Lines node to determine the parallel walls.

2 Likes