AutoCAD LISP - GETANGLEWhat links here?
(getangle [pt] [msg])


Arguments

Return Values

The getangle function measures angles with the zero-radian direction (set by the ANGBASE system variable in the Command Reference) with angles increasing in the counterclockwise direction. The returned angle is expressed in radians with respect to the current construction plane (the XY plane of the current UCS, at the current elevation).

Examples

The following code examples show how different arguments can be used with getangle :

Command: (setq ang (getangle))

Command: (setq ang (getangle '(1.0 3.5)))

Command: (setq ang (getangle "Which way? "))

Command: (setq ang (getangle '(1.0 3.5) "Which way? "))

Usage Notes

Users can specify an angle by entering a number in the AutoCAD current angle units format. Although the current angle units format might be in degrees, grads, or some other unit, this function always returns the angle in radians. The user can also show AutoLISP the angle by pointing to two 2D locations in the drawing area. AutoCAD draws a rubber-band line from the first point to the current crosshairs position to help you visualize the angle.

It is important to understand the difference between the input angle and the angle returned by getangle . Angles that are passed to getangle are based on the current settings of ANGDIR and ANGBASE in the Command Reference. However, once an angle is provided, it is measured in a counterclockwise direction (ignoring ANGDIR) with zero radians as the current setting of ANGBASE.

The user cannot enter another AutoLISP expression as the response to a getangle request.
AutoCAD LISP - GETANGLE
software:links:embedded systems
MC6802 - instruction set - Rotate Left Accumulator
AutoCAD Entity Definitions - block
MC6802 - instruction set - Negate Accumulator
Raspberry PI - restart or shutdown
MC6802 - instruction set - logic shift right memory
AutoCAD LISP - ENTUPD
programming - javascript - data types
O
programming - c - conversions
AutoCAD Entity Definitions - layer
AutoCAD LISP - CAADR
AutoCAD LISP - ASSOC
bible - random notes - 2011-01-22 government
AutoCAD LISP - WHILE
AutoCAD LISP - FOREACH
tk:tk widgets
filename:AutoCAD LISP - GETANGLE
filename:AutoCAD%20LISP%20%2D%20GETANGLE
last edit:September 02 2012 17:09:38 (4276 days ago)
ct = 1716103980.000000 = May 19 2024 03:33:00
ft = 1346620178.000000 = September 02 2012 17:09:38
dt = 369483802.000000