Revit 2025.3 API
Rebar |
Creates a new instance of RebarReinforcementData, or if the operation fails.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static RebarReinforcementData Create( ElementId rebarId, int iEnd )
Public Shared Function Create ( rebarId As ElementId, iEnd As Integer ) As RebarReinforcementData
public: static RebarReinforcementData^ Create( ElementId^ rebarId, int iEnd )
static member Create : rebarId : ElementId * iEnd : int -> RebarReinforcementData
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
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also