Community
If you have Express Tools...
(defun c:test (/ p1 p2) (alert "Press shift down to draw a circle, or \ndon't press shift down to draw a line") (if (and (setq p1 (getpoint "\nSelect the first point: ")) (setq p2 (getpoint "\nSelect the second point: ")) );; and (if (acet-sys-shift-down) (command "_.circle" "none" p1 "none" p2) (command "_.line" "none" p1 "none" p2 "") );; if );; if (princ) ) ;; and to control (acet-sys-control-down)
HTH
Henrique
(if (acet-sys-control-down)
(setvar 'ANGDIR 1)
)
or
(if (acet-sys-control-down)
(command "angdir" 1)
)
Henrique