Hi,
I have attached an old lisp routine called CHGTEXT.lsp.
This routine allows the user to select multiple occurances of text and to change text strings within the text.
I've added code to include Mtext as shown below:
(if (or (= "TEXT" ; Look for TEXT entity type (group 0)
(cdr (assoc 0 (setq e (entget (ssname p l))))))
(= "MTEXT" ; Look for MTEXT entity type (group 0)
(cdr (assoc 0 (setq e (entget (ssname p l))))))
);end or
It now seems to work to include Mtext.
What code would be needed to include visible attribute strings.
I realize the Find command does this, but this routine shows you exactly what has been selected.
Any improvements to the routine are always welcome.
Any help is always greatly appreciated.
Mark