Need to create Generic Model into the intersection between Floor and walls and Shafts and Openings, to assign carasteristics and measurements

Hi all,
this is my first post.
I’m trying to count the intersections between the shafts of floors and the openings created by the shafts.
The goal would be to assign generic models to the respective openings so created, to assign them some parameters, and obviously count the geometry, like area volume depth height width, material of core, and thousands of parameters needed in the construction phase.
I did it for walls and works like a charm: for the floors i cannot resolve it, because i cannot identify in any way the opening so created for each floor.

Floor problem:

Here the code:

Ps, if someone needs the code for the walls i can upload here.
Thanks in advance.Home.dyn (14.8 KB)

I´m a bit late to the party, but do you still have the code for the walls?

No, sorry.
Honestly I cannot figure the problem I exposed here 2 years ago, maybe we created some workaround…