how can I select all texts to change the text styles throught lisp?
Vanilla LISP ;======== (setq ss (ssget "x" '((0 . "TEXT")))) (setq cn 0) (while (setq ename (ssname ss cn)) (setq d (entget ename) d (subst (cons 7 <style>) (assoc 7 d) d) ) (entmod d) (setq cn (1+ cn)) ) ActiveX ;===== (setq ss (ssget "x" '((0 . "TEXT")))) (setq cn 0) (while (setq ename (vlax-ename->vla-object (ssname ss cn))) (vla-put-stylename ename <style>) (setq cn (1+ cn)) ) -- AUTODESK Authorized Developer www.Cadentity.com MASi