Why is Genius Loci Wall Edges Reference Doesn't work on Window Elements?

Why is Genius Loci Wall Edges Reference Doesn’t work on Window Elements although window is a type of wall? I’m trying to get the interior side of horizontal edges of the windows. anyone help please!

thank you very much!

sorry I used the different picture. I originally did that first but still didn’t work

Hi,
A window is a family Instance and not a compound structure. Walls and windows have different properties.
Use the host wall to get the exterior horizontal edges of the window or the FamilyInstance Reference ByType node to obtain the edges of the window corresponding to the reference planes of the family.