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: 9991

CAD tip CAD tip # 6403:

   
Question CAD 
 %  platform  category 
Q - question

Select all specific texts in a drawing.

A - answer You can use severel methods to select all texts of a specific type (value) in a drawing. Let us have a drawing containing three separate text objects (Dtext/Mtext): Adam,Bravo,Charlie. Our goal is to select the text entities Adam and Bravo.

The simplest way is to use the FILTER command. In the filter type choose Text, value and in the X field enter [AB]* (see wildcard characters in Help). Click the "Add to list" button and use the filter.

Another option is to use a filter in the AutoLISP selection function - (ssget). For the requested type of selection, this function would read:

  
(ssget "_X" '((0 . "TEXT,MTEXT")(1 . "A*,B*")))  
You can enter this LISP expression directly on the "Select objects" prompt.
ACADADTACADMCivil
100% *  CAD 
19.11.2008    40750×  

See also:
Tip 13737:Formatting leading zeros in AutoCAD fields (and automatic field update).
Tip 13716:HYPERLIST - list of all used URLs.
Tip 13688:How to select all DWG objects of a certain type in AutoCAD LT? (texts, circles...)
Tip 13049:Bulk 3D rotation of selected objects around individual axes.
Tip 12210:How to erase a specific object type in all DWG layouts?


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:
Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools More info


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