Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone
I've been trying to develop a code that would apply the tspaceinvaders command only to text and mtext of the selection, and on asking "Step through each one for visual verification?" already selected the "N".
But what I was starting didn't have functionality. Please, would anyone know what could be changed in this code?
(defun C:TINV (/ ss i elist)
(prompt "\nSelect an area: ")
(setq ss (ssget (list (cons 0 "TEXT"))))
(setq i -1)
(if ss
(repeat (sslength ss)
(setq elist (cdr (assoc -1 (entget (ssname ss (setq i (1+ i)))))))
(command "TSPACEINVADERS" elist "");
)
)
)
Solved! Go to Solution.