Finding All Drawing Objects Containing Specific Data
Concept Procedure Quick Reference
 
 
 
NoteThis procedure applies only to drawing objects.

To retrieve drawing objects based on their object data

  1. In Map Explorer, under Current Drawing, right-click Current Query, and then click Define.
  2. Click Data.
  3. In the Data Condition dialog box, select the type of data to query.
  4. Specify the specific data to query.
    • For object class, select the object class of the objects to retrieve. Then, under Properties, select the specific properties to query.
    • For object data, select the table and field to query.

      Note that if two attached drawings have a table with the same name, AutoCAD Map 3D recognizes only the fields defined in the first drawing you activate.

    • For database link data, select the link template associated with the objects you want to retrieve. Under Key Columns, select the key column to query.

      Because a query retrieves objects from attached drawings, only link templates defined in your attached drawing are displayed in the list.

    • For block attributes, select the block to query. Under Attribute Tags, select the attribute tag to query, or select * from the Blocks list to see a list of all the attribute tags of all the blocks in the active drawing.
  5. Specify the condition that the data must match by selecting an operator and entering a value in the Value field.

    For example, to find all values greater than 8, select the > operator and enter 8 in the Value field.

    For information on using wild cards, see Wildcard Characters.

  6. Click OK.
  7. In the Define Query dialog box, select a query mode.
  8. Click Execute Query.
See Also