(getpoint [point] [prompt])


Ask the user to specify a point.


This function waits for the user to input a point. You can use the point argument to specify a beginning point from which a guide line will be drawn, extending to the target. The user can either enter a coordinate or pick a point manually.

You can also include a prompt to prompt the user for the point.

Examples

Code Returns
(getpoint)
[pick point]
no response
11.40 7.05 0.0
(getpoint "Select a point: ")
[pick point]
Select a point:
2.05 3.55
(getpoint '(5.0 5.0) "Next point: ")
[pick point]
Next point:
6.70 7.30

Tell me about...

(getint [prompt])

(getreal [prompt])

(inters point1 point2 point3 point4 [flag])

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language