CAD Forum
Cesky English Deutsch
Login:
 Visitors: 1223 

WWW server of the XANADU company (formerly: CAD Studio) Become a fan of CADforum on Facebook

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    4229x  
Comments   Tell a friend
Share tip: Digg it! Del.icio.us Facebook Technorati StumbleUpon

See also:
Tip 7082:Selecting block objects by name.
Tip 6972:How to remove arc segments from Pline?
Tip 6776:How to add a comment to a drawing object?
Tip 6365:The "Select similar" function also in plain AutoCAD.
Tip 5448:How to select all entities in a specified layer?


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. 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.
XANADU (CAD Studio) is not responsible for possible problems that may occur as a result of using any of these tips.