Define Text dialog box

Use this dialog box to specify text to add to all drawing objects found by the query.

To define text location

To add text to retrieved drawing objects

Click Annotate tabMap Annotation panelDefine Text Location. At the Command prompt, enter adetextloc.

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

Text Value

Specify the text to add.

Enter the text, or choose a variable by clicking Expression.

  • If you enter text in the box, that text is added to each object.
  • If you choose a variable, the text for each object is based on the value of the variable.

For example, if you choose the property Elevation, the elevation is added as text to each retrieved object.

If select a field from an object data table, the value in that field is added to each object. If an object does not have a record attached from the selected table, no text is added to the object.

Text Height

Specify a text height.

If none is specified, text uses the AutoCAD Map 3D default text height.

Insert Point

Specify an insertion point for the text.


Insert text at the centroid of the object.


Insert text at the label point of the object.

The default location for the label point is the centroid of the object. To change the location of the label point, use the ADETEXTLOC command.


Specify the justification for the text. The list displays options for center, middle, and right, or combinations of these with top (T), middle (M), and bottom (B).

Text Style

Enter a text style, or click Styles to select from a list of styles in the active drawings.


Enter a layer for the text, or click Layers to select from a list of layers in the active drawings. If you enter a new layer name, the layer is created. To easily hide or delete text, insert it on its own layer.


Specify a color for the text.

Enter a color name, or click Color Palette to select a color.


Enter a rotation value. Enter 0 for no rotation.

For example, enter 90 to rotate objects 90 degrees in the current direction. (Use the DDUNITS command to view or change the current direction.)

For each option, enter a value in the box, enter an expression or variable, or select a value. For information on expressions and variables, see Expression Evaluator.