PanelFindHostPanel Method

Finds the id of the host panel (i.e., wall) associated with this panel. If a host panel is present, then it is displayed instead of the curtain panel.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public ElementId FindHostPanel()

Return Value

ElementId
Element id of the host panel associated with this panel. Otherwise, InvalidElementId is returned
See Also