Revit 2026 API
RebarGet |
Gets the lap length that is used for the specified end - 0 for start, 1 for end.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public double GetLapLength( int barEnd )
Public Function GetLapLength ( barEnd As Integer ) As Double
public: double GetLapLength( int barEnd )
member GetLapLength : barEnd : int -> float
Parameters
- barEnd Int32
- The end where the splice is - 0 for start, 1 for end.
Return Value
DoubleReturns the lap length that is used for the specified end - 0 for start, 1 for end.

Exception | Condition |
---|---|
ArgumentException | There is no splice at the specified end. |
ArgumentOutOfRangeException | barEnd must be 0 or 1. |
See Also