Data conditions retrieve drawing objects based on nongraphic information associated with the objects.
To retrieve drawing objects based on their object data
- In Map Explorer, under Current Drawing, right-click Current Query, and then click Define.
- Click Data.
- In the Data Condition dialog box, select the type of data to query.
- 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.
- 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.
- Click OK.
- In the Define Query Of Attached Drawings dialog box, select a query mode.
- Click Execute Query.