CAD tip # 13337:
Question
You can download the SelByAttr app from Download, load it into your AutoCAD using APPLOAD and launch by typing the command SELBYATTR (or -SELBYATTR as the commandline version, or (C:SELBYATTR) directly on the Select objects prompt).
In the dialog box or in successive prompts, specify the name, list (enumeration), or mask of the block names (e.g. Door*,Sliding*), the name, list, or mask of the layers in which the blocks are inserted, the name, list, or mask of the attribute names/tags (e.g., Width), and then the attribute values, if any. You can also pick the names from the drawing with the "Pick" button - by selecting a sample block, resp. attribute.
The searched attribute values can either be entered as text (again, a specific value, enumeration, or mask) or as a number or range of numeric values. This can be specified either by a range from-to or by specifying a value and a tolerance (allowable deviation from this value).
Using the Recalc button, you can view the number of blocks to be selected, a preview of the list of selected blocks and their attribute values. You need to specify at least one search parameter - e.g. "*" as the block name.
The application also supports dynamic blocks. See also the related SelDB application for selecting blocks according to dyn.block parameters.

