RhinoCurveObject.move_end

RhinoCurveObject.move_end()[source]

Move the end point of the curve.

Returns:

bool – True if the operation was a success. False otherwise.

Examples

import compas_rhino
from compas.geometry import Curve
from compas_ui.rhino.objects.curveobject import CurveObject

curve = Curve([0, 0, 0], [1, 0, 0])
curveobj = CurveObject(curve)

curveobj.draw()

compas_rhino.redraw()

if curveobj.move_end():
    curveobj.clear()
    curveobj.draw()