To Search for Drawing Objects Based on Location

Use queries to retrieve the drawing objects you need from attached drawings.

To create a query to retrieve information from attached drawings

  1. Open a drawing.
  2. In Map Explorer, under Current Drawing, right-click the Drawings folder. Click Define/ModifyDrawing Set.
  3. Make sure that the drawings you want to query are attached and active.
  4. In Map Explorer, under Current Drawing, right-click Current Query, and then click Define.
  5. To zoom to the extents of all active drawings, click Zoom Ext in the Define Query Of Attached Drawings dialog box.
  6. In the Define Query dialog box, select a Query Type to define a condition for your query based on:
    • Location— such as inside a window you define.
    • Property— such as color, layer, or elevation.
    • Data— information stored with the object
    • SQL— information stored in external databases
  7. To add conditions, choose And or Or, and choose a query type.

    To group conditions, select the first and last condition in the group. Click Group. Conditions inside the parentheses are evaluated first.

  8. Select a Query Mode to specify how to view the objects.
  9. If you plan to use the query again, save the query.
  10. Click Execute Query.