CAD FORUM - TIPS & TRICKS | UTILITIES | DISCUSSION | BLOCKS | SUPPORT | HELP & ASSISTANCE
Over 1.134.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
See the new Beam calculator, Engineering calculator, Tolerances, Spirograph generator and Regression curves in the Converters section.
New AutoCAD 2027 commands and sys.variables
CAD tip # 6403:
Question
A
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
19.11.2008
49304×
![CAD Forum - ARKANCE Community - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

What is the ARKANCE Community?