Find objects by Name

По-русски

AVC_FindName plug-in for AutoCAD and BricsCAD

Search for parts and blocks by name, kind and description. Search by mask. Invert the visibility of found objects.

FindName command allows you to quickly find objects with a given name in a drawing. The name can be assigned to the parts using the A>V>C> Properties Palette, the numbering command AvcNum, or it can be a common name of a block or attribute. The command complements the capabilities of the standard _QSelect quick selection command, in which it is not possible to search for the names of solids specified in the A>V>C> plugins. 

FindName command capabilities:


Read about downloading and installing the program here.

To run the command, you will have to register account and top up your account balance or receiving bonuses.

Then you can activate one of the licenses:

Operating procedure

Preparation

Unlike other commands, the FindName command does not measure solids. Therefore, if you use a filter by technology, create solid metrics in advance. For example, by calling the command SolSize.

Before calling the search command, you need to define the search range.

You can search among all objects of the model or the current sheet - in this case, reset the selection before calling the FindName command.

You can only search for objects inside the viewport. To do this, enter the model through the viewport or select one single viewport on the sheet.

You can limit your search to a set of objects - just select more than one object and call the FindName command.

If before calling the command, only one object is selected (and this is not a viewport), then the name and kind of this object will become patterns for search.

Next, call the FindName command. The search settings dialog will open.


Filtration

Specify conditions for pre-filtering objects. The program can filter:

You can read more about filtering conditions in the description of the Data Table.

In addition, the filtering conditions have a search option Inside Assemblies. If you enable this option, the program will search for assemble-blocks (explodable, non-annotative blocks) and will search for at least one suitable object inside a block or inside blocks nested in it. If such an object is found, the entire block will be selected. AutoCAD does not allow you to select individual objects within blocks, only entire blocks. Therefore, if you need to find a separate part inside assemblies, then you have to enter the block editor (_bedit) and call the search command there.

The option to restrict the search for objects by the viewport will be visible in the dialog only when the FindName command is called from the model through the viewport.

Search terms

There are three search fields available to you: Name, Kind and Description.

By default, all fields are *. This means that the name of the object can be anything, including empty. In other words, the asterisk disables the search.

? - means that there must be one character in this place. 

* - means that in this place there can be any number of any characters or nothing. 

The Name and Kind fields have drop-down lists in which the program will load all values ​​from all drawing objects. If reading the drawing takes more than 1 second, the program will display the first available names in the list, and load the rest the next time the list is opened or when the "<< Load the rest >>" line is selected. 

The reading process can be interrupted by pressing Esc.

The Description field contains the history of your previous searches in the drop-down list.

In all fields, you can write a specific search value or search mask. If the text in the field does not contain symbols * and ? , Then the program will search for objects with an exact match of the name. 

All three fields can be filled with asterisks - then the program will search for objects only by layer and other filters.

Pay attention to the button with an asterisk in the title - this button allows you to quickly reset the old search masks.

Search launch

Press Enter or the Select button and the program will start the search process. You will see a progress bar. The search can be interrupted by pressing Esc. At the end of the work, the program will write a report to the command line, reset the current selection and select the found objects.

If nothing is found, the program will save the selection of objects as it was before the command was called. This was done intentionally, for the convenience of re-searching with different conditions. But don't get confused - look at the number of objects found in the report on the command line.

For example, the mask "Test*" means that the name must begin with the word "Test", but then there can be any text.

The program does not distinguish between uppercase and lowercase letters.

Searching in the Description field is a little different: the program will search for any line in a multi-line description that matches the mask.

All three search fields must simultaneously correspond to these fields of the object, which the program considered the object to be suitable (that is, the logical AND operation is always used for searching).

If you click the Invert button, the program will turn off the visibility of all drawing objects, except those found. If there were already hidden objects before calling the command, they will become visible. That is, the program works exactly the same as the Invert command.

You can cancel the search by pressing Esc. With this, all your search settings will be canceled and forgotten.