getcorner


(getcorner  refPoint  [ prompt ] )

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

Arguments

refPoint  reference point, 2d/3d point list, relative to current UCS

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

Return

3D point, relative to current UCS; Z coordinate it replaced with the current elevation (system variable ELEVATION)

Example

(getcorner '(1 1 0))   returns user-selected point '(2 2 0)
(getcorner '(1 1 5) "\n* Show opposite corner : ")  returns '(2 2 10) if current elevation is 10

Remarks

draws a dashed rectangle from given refPoint point;
see (initget) function



©  Bricsys NV. All rights reserved.