It is very likely not necessary to filter for the Text entity type. That could probably be reduced to
(ssget "X" '((7 . "REG")))
unless there might be other kinds of drawing entities that could have 7-code entries with "REG" in their entity data, but that doesn't seem likely except for Mtext as well as Text. If you want to catch both kinds, you can do it as above, or adjust azrdgldr's suggestion to
(ssget "X" '((0 . "*TEXT") (7 . "REG")))
with a * before the TEXT word. If you only want to catch Text, but *not* Mtext, use azrdgldr's suggestion as is.
--
Kent Cooper
azrdgldr wrote...
Try (ssget "X" '((0 . "TEXT") (7 . "REG"))). Assuming REG is the name of the style of your text.
Kent Cooper, AIA