2011

Table Of Contents
Define Query
Icon
ADEQUERYCommand Line
In Map Explorer, right-click Current Query Define
-or- Right-click a query Edit
Task Pane
Define Query dialog boxDialog Box
Finding All Drawing Objects Containing a Specific Property
Property conditions retrieve drawing objects based on AutoCAD Map 3D object
properties such as color, elevation, layer, or linetype
Example: Search for objects on a given layer or of a specified color.
You can use more than one object property in a query, but you must define
them one condition at a time.
NOTE This functionality applies only to drawing objects. For information on
filtering geospatial feature data by property, see
Using Expressions to Select Feature
Data
(page 1131).
Object Properties vs. Layer Properties
Some properties, such as Color or Linetype, are often specified BYLAYER, that
is, the attribute is set based on the value of the layer rather than the object
itself. These objects are not retrieved if you specify a particular color, for
instance, in the property query. Instead, you must specify BYLAYER in the
property query to retrieve these objects.
For example, querying objects with a DASHED linetype retrieves only objects
that have that explicit property, not objects that have that property because
they reside on a layer with a DASHED linetype.
If the current drawing does not have a matching layer, queried objects will
be displayed according to the characteristics of the layer in the attached
drawing. If the active drawing has a matching layer, the queried objects will
be displayed according to the characteristics of the layer in the current drawing.
Defining Numeric Range Property Queries
To define a numeric range property condition, combine condition statements
that define the upper and lower limit of the range. For example, to retrieve
1242 | Chapter 8 Analyzing Data