Revit 2025 API
Curve |
Gets the raw parameter value at the start or end of this curve.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public double GetEndParameter( int index )
Public Function GetEndParameter ( index As Integer ) As Double
public: double GetEndParameter( int index )
member GetEndParameter : index : int -> float
Parameters
- index Int32
- Use 0 for the start parameter, 1 for the end parameter of the curve.
Return Value
DoubleThe raw parameter value at the start or end of this curve.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The given value for index is not 0 or 1. |
| InvalidOperationException | This curve is unbound and does not have start and end points. |
See Also