CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 9511

CAD tip CAD tip # 7249:

   
Question CAD 
 %  platform  category 
Q - question

How to select all drawing entities containing a given text?

A - answer 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
100% *  CAD 
9.3.2010    15478×  
Prices - CAD eShop:
applies to: AutoCAD · AutoCAD Architecture ·

See also:
Tip 13749:How to add the SEARCH/REPLACE command into AutoCAD Web?
Tip 13139:How to insert a new line into multiline text in the Find/Replace command?
Tip 12421:Wrong units in an imported DXF file.
Tip 9265:RENAME on steroids - complex renaming of AutoCAD objects.
Tip 7892:How to find blocks with an empty (not-filled-in) attribute?


Back   All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.


Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist