Grouping intersecting geometries List Problem

Hi,

I spent an entire day trying to group parts by intersecting them. I basically need to know which parts are next to each other to later filter them out as groups and apply further filters.

I can’t seem to make an intersection matrix on multiple parts. What I want to do is to have 3 lists of two wall parts of those touching (directly intersecting).

Any ideas?

Thanks in advance :wink:

So I found a solution to a single list. Maybe someone has experience with looping this through multiple elements? I.e. Now I have multiple walls with various layers as in the picture…