-
- (defun C:Go ()
- (vl-load-com)
- (setvar 'Osmode 512)
- (while (not (setq 1st (entsel "Select first circle: "))))
- (while (not (setq 2nd (entsel "Select second circle: "))))
- (setq 1st (osnap (last 1st) "_Nea"))
- (setq 2nd (osnap (last 2nd) "_Nea"))
- (command "_.LINE" "_Tan" 1st "_Tan" 2nd "")
- (setq line (entget (entlast)))
- (princ
- (strcat
- "\nCoords:\t\t"
- (vl-princ-to-string (cdr (assoc 10 line)))
- "\t"
- (vl-princ-to-string (cdr (assoc 11 line)))
- )
- )
- (entdel (entlast))
- )
|