Revit 2025.3 API
Wall |
Gets a list of all host walls on which the sweep resides.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public IList<ElementId> GetHostIds()
Public Function GetHostIds As IList(Of ElementId)
public: IList<ElementId^>^ GetHostIds()
member GetHostIds : unit -> IList<ElementId>
Return Value
IListElementIdThe list of wall ids.

Fixed wall sweeps from vertically compound structures will return only one host element.
See Also