CurveEndPoint

Returns the end point of a curve object.

Syntax

rhinoscriptsyntax.CurveEndPoint (curve_id)

rhinoscript.curve.CurveEndPoint (curve_id)

Parameters

curve_id

Required.  String or Guid.  The object's identifier.

Returns

Point3d

The 3-D end point of the curve if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

object = rs.GetObject("Select a curve")

if rs.IsCurve(object):

    point = rs.CurveEndPoint(object)

    rs.AddPoint(point)

Also See

CurveMidPoint

CurveStartPoint

IsCurve