Overview of Queries
Concept Procedure Quick Reference
 
 
 
NoteThis procedure applies only to drawing objects.

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 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. If you want, specify how to alter the properties of the objects retrieved by the query.
  9. Select a Query Mode to specify how to view the objects.
  10. If you plan to use the query again, save the query.
  11. Click Execute Query.

You can view and edit the objects, then save them to a new file or save them back to their original file.