The element that contains the rebar.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public ElementId GetHostId()
Return Value
ElementIdThe element that the rebar object belongs to, such as a structural wall, floor, foundation, beam, brace or column.