(getorient [pt] [prompt])
Ask the user to specify an angle.
This function is very much like getangle, except that the angle returned by getorient is independent of the variables ANGDIR and ANGBASE. The base is always at the zero-radian direction towards the right (or east). The angles increase in a counterclockwise direction. Angles returned by getortient are shown as radians.
This function is better used for absolute angles (orientation), rather than relative angles (rotation amount).
Another LISP expression may not be used as a response to a getorient request.
Examples
Code | Returns |
---|---|
(getorient) [pick first point] [pick second point] |
no response Second point: 2.58172 |
(getorient '(3.5 2.0)) [pick point] |
no response 0.430034 |
(getorient "Real Angle: ") [pick first point] [pick second point] |
Real Angle: Second point: 0.3222 |
(getorient '(7.0 2.0) "Real Angle: ") [pick point] |
Real Angle: 1.58751 |