CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE

CAD tip CAD tip # 7249:

Question

CAD 
 %  platform  category 
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
100% *CAD
9.3.2010   19949×  
   
this tip shared by ARKANCE experts applies to: AutoCAD · AutoCAD Architecture ·

See also:
Tip 14911:Using symbolic variables to enter repeated values in AutoCAD.
Tip 14527:Search/Replace texts in Inventor drawings - iLogic.
Tip 14431:What are the AutoCAD commands -FIND, FINDMATCH and FINDINCLUDE?
Tip 14163:How to select DWG texts containing a certain number of characters?
Tip 13749:How to add the SEARCH/REPLACE command into AutoCAD Web?


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
  





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