GetPointOnLine - NOT IMPLEMENTED IN PYTHON YET

Pauses for user input of a point constrained to an infinite line.

Syntax

rhinoscript.userinterface.GetPointOnLine (message, start_point, end_point, track=True)

Parameters

message

Required.  String.  A prompt or message.

start_point

Required.  List of 3 numbers or Point3d.  The starting point of the line.

end_point

Required.  List of 3 numbers or Point3d.  The ending point of the line.

track

Optional.  Boolean.  Draw a tracking line from start_point. If omitted, a tracking line is drawn (True).

Returns

Point3d

The 3-D point selected by the user if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

plane = rs.ViewCPlane()

start = plane.Origin

end = start + plane.Normal

point = rs.GetPointOnLine("Pick location", start, end)

Also See

GetPoint

GetPoints