getorient


(getorient  [ refPoint ]  [ prompt ] )

This function pauses for user input to specify an angle (in radians), always measured against UCS X axis.

Arguments

point  (optional) a 2d 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

the angle in radians (double)

Example

(getorient)
(getorient '(1 1 0))
(getorient '(1 1 0)) "\n* Show angle : ")
(getorient "\n* Show angle : ")

Remarks

(getorient) ignores ANGBASE system variable, angle is always measured against the X axis of current UCS;
point is relative to current UCS;
see (initget) and (getangle) functions



©  Bricsys NV. All rights reserved.