Mode:
Duration:
1
2
3
4
5
6
7
8
(defun c:DrawLine ()
(prompt "\nSelect first point: ")
(setq p1 (getpoint))
(prompt "\nSelect second point: ")
(setq p2 (getpoint))
(command "_.LINE" p1 p2 "")
(princ)
)Coding works best on desktop or with an external keyboard.