Revit 2026 API
CurveMake |
Changes the bounds of this curve to the specified values.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void MakeBound( double startParameter, double endParameter )
Public Sub MakeBound ( startParameter As Double, endParameter As Double )
public: void MakeBound( double startParameter, double endParameter )
member MakeBound : startParameter : float * endParameter : float -> unit
Parameters
- startParameter Double
- The new parameter of the start point.
- endParameter Double
- The new parameter of the end point.

Exception | Condition |
---|---|
ArgumentException | Thrown when the specified values are infinite. |
InvalidOperationException | Thrown when endParameter is smaller than startParameter. |

If the curve is marked as read-only (because it was extracted directly from
a Revit element or collection/aggregation object), calling this method
causes the object to be changed to carry a disconnected copy of the original curve. The
modification will not affect the original curve or the object that supplied it.
See Also