2011

Table Of Contents
4 Specify the location of the data.
To retrieve objects based on object class, in the Class list, select the
object class of the objects to retrieve. Under Properties, select the
specific properties to query.
To retrieve objects based on object data, select the table and field to
query.
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.
To retrieve objects based on database link data, in the Link Template
list, select the link template associated with the objects to retrieve.
Under Key Columns, select the key column to query.
To search for objects in attached drawings, only link templates defined
in your attached drawing are displayed in the list.
To retrieve objects based on block attribute information, in the Blocks
list, select the block that contains the attribute tag information to
query. Under Attribute Tags, select the attribute tag to query, or select
* in the Blocks list to see a list of all the attribute tags of all the blocks
in the active drawing.
5 Select an operator.
When you query database link data, only the = operator is available.
6 Enter the data value.
You can use wild-card characters for Value. For more information about
wild cards, see
Wildcard Characters (page 1537).
7 Click OK.
8 In the Define Query dialog box, click OK.
NOTE Before you execute a query with a SQL condition, verify that the appropriate
data source is attached and connected.
To bring in drawing objects based on external (SQL) data
1 Do one of the following:
In
Display Manager (page 2060), click Data Add Drawing Data Query
Current Drawing.
Bringing In Drawing Objects Based on Attached Data | 365