RhinoLineObject.move_end

RhinoLineObject.move_end()[source]

Move the end point of the line.

Returns:

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

Examples

import compas_rhino
from compas.geometry import Line
from compas_ui.objects import Object

line = Line([0, 0, 0], [1, 0, 0])

lineobj = Object(line)
lineobj.draw()

compas_rhino.redraw()

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