Dear Helpers,
I got alisp code that can select text elements in entire drawing by user input. Butit's not working for case sensitive letters and also not asking for windowselection. Please do needful.
Code:
(defun C:SWT (/ str ss) ; = Find String(s) by Content
(setq str (getstring "\nYour [full or partial] stringcontent to search for: "))
(if (setq ss (ssget "_X" (list (cons 0"*TEXT") (cons 1 (strcat "*" str "*")) (cons 410(getvar 'ctab)))))
(sssetfirst nil ss); select/highlight/grip
); if
); defun
Regards,
T.Brahmanandam.