±×·¸±º¿ä.ÀÚ·á ¿¬±¸ÇØ º¸°Ú½À´Ï´Ù.
Z°ª 0À¸·Î ¸¶Ãß´Ï±î °¡°ø µÇ´Âµ¥¿ä
¿ä°Å ¸®½À ½áº¸¼¼¿ä
ÁÁ¾Æ¿ë
(defun c:zz ( / ss a) (mapcar '(lambda (x) ((lambda (a) ((lambda (b c d e f) (if (= (cadddr b) -1) (progn (setq a (entmod (subst (cons 210 '(0.0 0.0 1.0)) b a))) (setq a (entmod (subst (cons 10 (cons (* (cadr c) -1) (cddr c))) c a))) (if (= (cdr (assoc 0 a)) "ARC") (progn (setq a (entmod (subst (cons 50 (* (+ (cdr e) f) -1)) d a))) (setq a (entmod (subst (cons 51 (* (+ (cdr d) f) -1)) e a))) ) ) ) ) ) (assoc 210 a) (assoc 10 a) (assoc 50 a) (assoc 51 a) (* pi (/ 180 180.0)))) (entget x))) (vl-remove-if 'listp (mapcar 'cadr (ssnamex (if (not (setq ss (ssget '((0 . "CIRCLE,ARC"))))) (exit) ss))))) (princ))