To filter a feature layer
- If you are filtering by location, zoom the window to the extents of the selected feature class.
- Select the feature layers and select the filter command.
For example, in AutoCAD Map 3D toolset Display Manager, right-click a selected layer and click Query To Filter Data.
- In the Create Query window, do either of the following:
- To add more feature layers to the data being searched by the expression, click Add Layer and select the layer to add.
- To delete a layer, select it in the list and click Delete.
The list of layers at the top of the window shows any existing filters for the selected layers. If the layers use a common query (specifying a property that all the layers have in common), that query is listed separately.
- Create an expression, using any of the following expression types:
-
Filtering by Location — Selects all features in a location you specify. Select one of the Locate On Map options and define a location in your drawing.
For example, use a location expression to find all manholes in one section of town. You can also find all parcels that touch a road, or all water pipes within 100 meters of a road.
-
Evaluating Properties— Selects all features that have the property value you specify. Insert a property, an operator, and a value.
For example, to select all pipes with a diameter greater than 10, specify Diameter > 10.
The Property list displays the properties available for this feature class. You can view and insert available values for a property from a list.
- Optionally, add conditions to the expression.
- Validate your expression.
- Click OK to apply the filter.