Creates a new instance of RebarReinforcementData, or nullptr if the operation fails.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static RebarReinforcementData Create( ElementId rebarId, int iEnd )
Parameters
- rebarId ElementId
- the Id of the rebar
- iEnd Int32
- The end of rebar where the coupler stays. This should be 0 or 1
Return Value
RebarReinforcementDataCreates a new instance of RebarReinforcementData
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |