Share

RebarHostData.GetRebarHostData Method

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


Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static RebarHostData GetRebarHostData(
	Element host
)

Parameters

host  Element
An element to host rebar.

Return Value

RebarHostData
A RebarHostData object, or nullptr.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

Remarks

Returns nullptr for elements that cannot ever be rebar hosts, such as levels.

See Also

Reference

Was this information helpful?