Property Condition dialog box
 
 
 
NoteThis functionality applies only to drawing objects.

Use this dialog box to create or modify a property condition in a query.

To retrieve drawing objects based on their properties

Click Home tabData panelDefine Query. At the Command prompt, enter adequery.

A property condition finds drawing objects based on a property, such as color, layer, length, or text style.

Select Property Area

Specify the property to search for.

Area

Retrieve objects based on their area.

Area only works on circles, ellipses, polylines, splines, regions, and solids. It does not work on objects created from line segments. For example, Area will not work on a rectangle created of four separate lines.

Block Name

Retrieve objects based on their block name.

To select from a list of block names in the active drawings, click Values.

Color

Retrieve objects based on their color.

To select a color, click Values.

Elevation

Retrieve objects based on their elevation.

Elevation is the Z value from the XY plane where the object is defined.

Object Type

Retrieve objects based on their type.

To select from a list of types in the active drawings, click Values.

If an object type, does not appear on the list, it may be a custom object. To add a custom object to the list, run a command that will load the object's dbx.

Note To specify a polyline object type, enter 2Dpolyline or 3Dpolyline.
Group

Retrieve objects based on the groups they are members of.

To select from a list of groups in the active drawings, click Values.

The group is not maintained in the current drawing.

Layer

Retrieve objects based on their layer.

To select from a list of layers in the active drawings, click Values.

Length

Retrieve objects based on their length.

Linetype

Retrieve objects based on their linetype.

To select from a list of linetypes, click Values.

If the linetype is not loaded in the current drawing, the objects will appear with a CONTINUOUS linetype.

Text Style

Retrieve objects based on their text style.

To select from a list of text styles, click Values.

Text Value

Retrieve objects based on their text value.

To set an option for case-sensitive match for text values, use the Query tab of the AutoCAD Map Options dialog box.

Thickness

Retrieve objects based on their thickness.

Thickness is the distance an object is extruded above or below its elevation.

Object Class

Retrieve objects based on their object classification.

To select from a list of object classes, click Values.

Select Include Subclasses to return all objects tagged with the selected object class and all objects tagged with any subclasses of the selected object class. If the option is not selected, the query returns only objects tagged with the selected object class.

Lineweight

Retrieve objects based on their lineweight.

To select from a list of lineweights, click Values.

Plotstyle

Retrieve objects based on their plot style.

To select from a list of plot styles, click Values.

Operator list

Select an operator from the list.

= The value of the selected property or data is equal to the value you enter the Value box.
> The value of the selected property or data is greater than the value you enter the Value box.
>= The value of the selected property or data is greater than or equal to the value you enter the Value box.
< The value of the selected property or data is less than the value you enter the Value box.
<= The value of the selected property or data is less than or equal to the value you enter the Value box.
<> The value of the selected property or data is not equal to the value you enter the Value box.

If you selected Layer, Object Classname, or Plotstyle as the property, = (equal) is the only available operator.

Value box

Specify the value to find.

To specify more than one value, separate each value with a comma. The query will find objects that match any of the values.

You can use wild-card characters for: Block Name, Object Type, Group, Layer, Linetype, and Text Style.

To select values from a list, click Values.

Values

Display a list of values defined for the property in any of the active drawings attached to this drawing.

Select values from the list.

Note For topology queries, some of the options are different. For more information on querying a topology, see To query a topology.