Get specific walls of rooms

Hi guys,
I’m currently trying to determine certain walls of rooms. This should always be the wall (red mark), which is to the right of the upper left corner (blue mark).

I need the walls to determine the rotation of the room in a further step, (I’ve already solved that with the wall-orientation node).

Thanks for your help and ideas!

Cheers,
Martin

If you’re looking for the “northernmost” wall you should be able to get the midpoint of the wall location lines and sort them that way.

1 Like

Hey Nick,
thanks a lot. I didn’t think it could be that simple! I implemented it according to your idea.