Almost but notCode:(defun c:test (/ cir ent z ) (while (setq cir (ssget ":E:L" '((0 . "CIRCLE")))) (setq cur (* (cdr (assoc 40 (setq ent (entget (ssname cir 0))))) 2) ) (redraw (ssname cir 0) 3) (setq z (cond ((getreal (strcat "\nEnter diameter[Enter to accept: <" (rtos (setq z cur) 2 2) ">: " ) ) ) (z) ) ) (entmod (subst (cons 40 (/ z 2.0)) (assoc 40 ent) ent ) ) ) (princ) )![]()




Reply With Quote




Bookmarks