Over 1.095.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and variables.
CAD tip # 7249:
Question
A
To select text objects containing a given text string, use the QSELECT command, choose the object type Text (or Mtext), the property Contents and the operator "* Wildcards". In the field Value then enter the searched text including the wildcard charactes - e.g. *123* selects all text entities containing the string "123"; or A* selects all texts starting with "A" (uppercase).
Similarly you can use the FILTER command and its filter value Text, value and type the text mask in the field X.
Of course you can also use the LISP expression for filtered selection set of objects - e.g. again the texts starting with "A":
(ssget"_X" '((0 . "*TEXT")(1 . "A*")))
ACADADT


9.3.2010
17622×
applies to: AutoCAD · AutoCAD Architecture ·