WallGetHostWallId 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