GetRebarHostData Method


Rebar Host Data Get Rebar Host Data Method

Gets a RebarHostData object referring to the specified rebar host element.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static RebarHostData GetRebarHostData(
	Element host
)

Parameters

host Element
An element to host rebar.

Return Value

RebarHostData
A RebarHostData object, or .
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
Returns for elements that cannot ever be rebar hosts, such as levels.
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 →