CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 2470 

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    16599x  
Comments   Tell a friend

See also:
Tip 10015:How to select and modify objects in all layouts of the DWG?
Tip 9350:How to move the draw order of all images or hatches to back?
Tip 9063:Flip 3D faces (front/back) in AutoCAD.
Tip 9044:How to select all anonymous blocks in a DWG?
Tip 8782:Optionally select/ignore raster images.


Back   All CAD Tips All CAD tips&tricks

Batch-print multiple layouts in AutoCAD LT 2008. « | » My AutoCAD does not recognize the PDFATTACH command.

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:
Generate hatch patterns automatically from your DWG drawings with
HGEN 2006 More info


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