GetRebarSplice Method


Rebar Get Rebar Splice Method

Gets the rebar splice at the specified bar end - 0 for start, 1 for end.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public RebarSplice GetRebarSplice(
	int barEnd
)

Parameters

barEnd Int32
The bar end for which the rebar splice is needed - 0 for start, 1 for end.

Return Value

RebarSplice
Returns the rebar splice at the specified bar end - 0 for start, 1 for end.
Exceptions
Exception Condition
ArgumentOutOfRangeException barEnd must be 0 or 1.
Remarks
In order to splice a rebar or unify existing spliced rebars there are utility functions in RebarSpliceUtils class.
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 →