Autodesk Expression Builder > Creating Expressions For Geospatial Features > Using Expressions to Filter Feature Data > Filtering a Feature Layer >
Filtering a Feature Layer
|
|
- If you are filtering by location, zoom the window to the extents of the selected feature class.
- In
Display Manager, select the feature layer and select the filter command.
For example, in AutoCAD Map 3D, right-click the layer in the Display Manager and click Query To Filter Data.
- 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, or 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.
- 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.
- Optionally, add conditions to the expression.
- Validate your expression.
- Click OK to apply the filter.