Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Select by Query

Hotkey: Ctrl+Q
  

Selects objects meeting a complex set of criteria. For example, you can select all blue arcs or yellow dashed curves on Layers 3 and 5. Query selection can be useful in large or complicated drawings in which you need to filter through numerous colors, layers, entity types, etc.
You can write a query manually in the edit box, if you know the syntax rules. But it is recommended to use the tools in the Selection by Query window.

...


Query window: Contains the expression used to filter the objects for selection. You can assemble the expressions via the Criteria button, or you can enter them manually.

...

Note: The query text does not automatically wrap. Press Enter to separate lines. Also, new criteria are inserted at the end of the expression, regardless of cursor position. You can cut and past text to correct the order.

...

  Object Properties: Enables you to select objects that have certain physical properties such as length or radius. For example, arcs and circles can be selected by arc length, circumference, radius, etc. Click Radius.   Enter a Value and its Relative (equal, less than, greater or equal, etc.). In this example, the query will select arcs and circles with radii between 3 and 5 inches, or equal to 10 inches.   This is how the radius value query looks in the Selection by Query window.   Custom Properties: See See Custom Properties, Database, and Reports
Favorite Properties: Enables you to choose from a list of queries you use often. You can add common properties and object properties to the list of favorites.
For example, open the Common Properties, and right-click on Brush Color. Select Add to Favorites.
  Then open the Common Properties, and right-click on Height under Box. Select Add to Favorites.   To see where these favorites are listed, open Favorite Properties.   The brush color and height properties are listed here.   To remove a property from the favorites list, right-click on it and select Remove.

...

If you want to use a query later, you can save it. Click Save Query.   Enter a name for the query and click Save.   Then in the Selection by Query window, find the query name in the List.   To change saved queries, click Edit List.