Try running this on your drawing:
Code:(defun c:repDash (/ ss tStr pos) (vl-load-com) (if (setq ss (ssget "X" (list (cons 0 "TEXT,MTEXT") (cons 1 "*--*") (if (getvar "CTAB") (cons 410 (getvar "CTAB")) (cons 67 (- 1 (getvar "TILEMODE"))))))) (foreach x (mapcar 'vlax-ename->vla-object (mapcar 'cadr (ssnamex ss))) (setq tStr (vla-get-TextString x)) (while (setq pos (vl-string-search "--" tStr)) (setq tStr (strcat (substr tStr 1 pos) (chr 45) (substr tStr (+ pos 3))))) (vla-put-TextString x tStr)) (princ "\n<!> No Text Found <!>")) (princ))




Reply With Quote


Bookmarks