(defun c:fillet2Line() (command "erase" "all" "") (command "line" (list 0 100) (list 20 100) "") (setq L1 (entlast)) (command "line" (list 0 0) (list 0 200) "") (setq L2 (entlast)) (setq L1 (ssget "x" '((10 0 100)))) (setq L2 (ssget "x" '((11 0 200)))) (alert "Select finish") (setvar "FILLETRAD" 2) (command "fillet" (list L2 '(0 0)) (list L1 '(20 100))) ) or (defun c:fillet2Line() (command "erase" "all" "") (command "line" (list 0 100) (list 20 100) "") (command "line" (list 0 0) (list 0 200) "") (setq L1 (ssname (ssget "x" '((10 0 100))) 0)) (setq L2 (ssname (ssget "x" '((11 0 200))) 0)) (alert "Select finish") (setvar "FILLETRAD" 2) (command "fillet" (list L2 '(0 0)) (list L1 '(20 100))) ) |