getpoint


(getpoint  [ refPoint ]  [ prompt ] )

This function pauses for user input to specify a point, relative to refPoint.

Arguments

point  (optional) a 2d / 3d reference point; if specified, it is used as starting point for the rubberband; if omitted, '(0 0) is used

prompt  (optional) a prompt string to be shown; if omitted, a standard prompt is shown

Return

3D point, relative to current UCS

Example

(setq delta (getpoint))
(setq delta (getpoint "\n* Show new location : "))
(setq delta (getpoint '(0 0 0))
(setq delta (getpoint '(0 0 0) "\n* Show new location : ")

Remarks

if  is specified, a rubberband is shown;
see (initget) function



©  Bricsys NV. All rights reserved.