RhinoCommon API
CurveChangeDimension Method |
Changes the dimension of a curve.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool ChangeDimension( int desiredDimension )
Public Function ChangeDimension ( desiredDimension As Integer ) As Boolean
Parameters
- desiredDimension
- Type: SystemInt32
The desired dimension.
Return Value
Type: Booleantrue if the curve's dimension was already desiredDimension or if the curve's dimension was successfully changed to desiredDimension; otherwise false.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14