Get Curtain Panel of family instance element

Hello,

I applied a Family instance to a Curtain Panel.
The Family instance represents facade element with profiles and glasses.

By knowing Id of a specific element inside that Family instance (glass pane for example) - can I get the Curtain Panel this element belongs to?

Thank you very much for any kind of help.

From @john_pierson

2 Likes

You can use “element host” from genius loci, you can find it under “Element” dropdown.

1 Like

Thank you @_Vijay ,
Where in your screenshot is the ID of an element inside the curtain panel shown?
(in my case, this is the ID of the Glass element).

Thank you @Nitish0o1 .
I don’t have Genius Loci.
But I have “Revit Lookup” addon. When I select my glass, and check how it looks like in “Revit Lookup”: it shows no Host:

So I am wondering if that “Element host” node is made for doors inside walls. Or to get Wall inside Curtain Panel. But not to get the Element inside the Curtain Panel?

Hello @george is it something here you are after ?

1 Like

Hi @sovitek ,
Thank you very much for the help!
I think, I have the opposite situation: I have an element inside the Curtain Panel Family instance (a glass pane). And I would like to get the Curtain Panel, to which that element belongs to.

1 Like

You might want to try using the “IntersectElement” node from BimorphNodes. feed both the, glass pane and the family data sets, and it will return the elements that intersect. eventually you will get curtain panel.

1 Like

Hi @Nitish0o1,
Thank you very much for the help!
How can I obtain the family data set?
I can not simply select the family instance to which the glass pane belongs, because I have tens of such glass panes scattered around different curtain walls.

If that glass pane is a nested shared family within a curtain panel, I think you can simply use the Element.GetParentElement node to get the panel instance.

2 Likes

Hi @Andreas_Dieckmann ,

Thank you very much for the help! I learned something new.

When I try t use the “Element.GetParentElement” node, I get the following message:
Warning: Element has no parent component
I guess, that means that glass pane is not nested inside the family instance?

It should then be Shared Nested no?

1 Like

Hi @bvs1982 ,
I don’t know. When I press tab to select that glass pane, it acts as a single element inside the Family Instance.