Pauses for user input of a point, and returns that point
Supported Platforms: Windows and Mac OS
(getpoint [pt] [msg])
Type: List
A 2D or 3D base point in the current UCS.
Type: String
Message to be displayed to prompt the user.
Type: List or nil
A 3D point, expressed in terms of the current UCS.
The user can specify a point by pointing or by entering a coordinate in the current units format. If the pt argument is present, AutoCAD draws a rubber-band line from that point to the current crosshairs position.
The user cannot enter another AutoLISP expression in response to a getpoint request.
(setq p (getpoint)) (setq p (getpoint "Where? ")) (setq p (getpoint '(1.5 2.0) "Second point: "))