Share

Rebar.GetRebarSplice 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: 26.2.0.0 (26.2.0.0)

Syntax

C#

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

ExceptionCondition
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

Reference

Was this information helpful?