Can mtext command be place in a lisp loop to make
a multistring mtext editor where the user can select a group
of mtext and edit mtext strings form top text to bottem.
I have not used the mtext very much I and I am not sure how
it works. Maybe if I had a lisp routine to edit many mtext
string with one selection I would use it more.
Registered forum members do not see this ad.
this thread, with one change.
Change the word TEXT to MTEXT, or if you want it to work with both, change TEXT to *TEXT as shown here:
This will loop through TEXT and/or MTEXT in the order selected.Code:(defun c:foo () (setq sset (ssget '((0 . "*TEXT"))) i 0) (repeat (sslength sset) (setq ent (ssname sset i)) (command "._ddedit" ent "") (setq i (1+ i)) ) (princ) )