Share
 
 

About Property-Based Queries

You can use more than one object property in a query, but you must define them one condition at a time.

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 objects with an elevation between 21.0 and 47.0, use the following condition statements:

Property: ELEVATION > 21

AND Property: ELEVATION < 47

Notes

  • If you query against Object Type and IMAGE is not listed even though you have a raster image in an attached drawing, exit the query dialog boxes. Click Insert tabImage panelImage Management. FindIn the Image Management dialog box, click OK. Then define the query again.
  • If the property query you define uses text values, you can set an option to specify case-sensitive text.

Was this information helpful?