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

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

To retrieve drawing objects based on their location

To edit a drawing query condition

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

A location condition finds drawing objects based on location relative to a specified boundary. You can specify whether objects must be completely inside the boundary or have any part inside the boundary.

For blocks or text objects, you can specify if their location is determined by their insertion point or their bounding box. For hatch, solid, and raster objects, you can specify if their location is determined by their area or their boundary. See the Query tab of the AutoCAD Map Options dialog box.

Location Coordinates

View the coordinates for the current location condition.

Define <

View your current drawing, where you can specify the points to define the boundary.

Show <

View the boundary of the condition you are editing.

To change the colors used to display the boundaries, use the Query tab on the AutoCAD Map Options dialog box.

Boundary Type

Select a boundary type.

All

Retrieve all objects in the active drawings.

Buffer Fence

Retrieve all objects within a specified distance from a fence.

Select a selection type. Click Define to define the fence and the distance.

First Point Enter the X,Y coordinates of the first point of the buffer fence, or select the point.

Next Point Enter the X,Y coordinates of the next point of the buffer fence, or select the point. Press Enter when done entering points.

Bufferfence Width Enter the width of the buffer fence in the current unit.

Circle

Retrieve all objects in a defined circle.

Select a selection type. Click Define to define the circle.

Center point Enter the X,Y coordinates of the center of the circle, or select the point.

Radius Enter a number in the current unit.

Fence

Retrieve all objects that cross a defined line.

Select a selection type. Click Define to define the fence.

A fence does not need to be closed and can cross itself.

First Point Enter the X,Y coordinates of the first point of the fence, or select the point.

Next Point Enter the X,Y coordinates of the next point of the fence, or select the point. Press Enter when done entering points.

Point

Retrieve all areas that surround a selected point.

Click Define to select the point.

Coordinates of Point Enter the X,Y coordinates of the point, or select the point.

Polygon

Retrieve all objects in a defined polygon.

The polygon can be any shape, but cannot cross or touch itself. If you do not close the polygon, AutoCAD Map 3D connects the final point to the first point to create a closed polygon.

Select a selection type. Click Define to define the polygon.

First Point Enter the X,Y coordinates of the first point of the polygon, or select the point.

Next Point Enter the X,Y coordinates of the next point of the polygon, or select the point. Press Enter when done entering points.

Polyline

Retrieve all objects that cross an existing polyline.

Select a selection type, select a polyline mode. Click Define to select the polyline.

Select Polyline Select a polyline, line, or arc. If you selected the Polygon polyline mode, you can select only a polyline.

Bufferfence Width Enter the width of the buffer fence in the current unit. (This prompt appears only if you select the Buffer Fence polyline mode.)

Window

Retrieve all objects in a specified window.

Select a selection type. Click Define to define the window.

First Corner Enter the X,Y coordinates of the first corner of the window, or select the point.

Other Corner Enter the X,Y coordinates of the opposite corner of the window, or select the point.

Selection Type

Inside

Find only objects that are completely within the boundary.

Crossing

Find objects that are completely within or crossing the boundary.

NoteWhen you perform location queries close to blocks or text objects, be aware that the bounding box for these objects can extend significantly beyond the extents of the objects. You can set an option to retrieve objects based on their bounding box or their insertion point. See AutoCAD Map Options dialog box.

Polyline Mode

If you select a polyline boundary, select the mode to define the polyline border.

Polygon

Close the polyline to create a polygon. If the polyline contains arcs, AutoCAD Map 3D connects the ends of the arcs with a straight line.

Fence

Retrieve all objects that cross the polyline.

Buffer Fence

Retrieve all objects within a specified distance from the polyline.