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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →