Curve.MakeBound
Description:
Changes the bounds of this curve to the specified values.
Changes the bounds of this curve to the specified values.
Remarks:
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.
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.
public void MakeBound(
double startParameter,
double endParameter
)
-
DoublestartParameterThe new parameter of the start point.
-
DoubleendParameterThe new parameter of the end point.
-
Thrown when the specified values are infinite.
-
Thrown when endParameter is smaller than startParameter.