GetHostWallId Method


Wall Get Host Wall Id Method

Gets the element ID of the host wall that this wall is associated with.

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

Return Value

ElementId
The element ID of the host wall that this wall is associated with, or invalidElementId if the wall is not associated with any host wall.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →