Your Microsoft-certified ERP partner for SMEs for more than 20 years!

| Filter Type | Logic | AutoCAD Command/ Tool | Use Case Example | | :--- | :--- | :--- | :--- | | | Object is entirely within a boundary | MAPQUERY > Location > Inside | Find all manholes inside a treatment plant fence line. | | Crossing | Object is crossed by or touches a boundary | MAPQUERY > Location > Crossing | Identify pipes that intersect a property line. | | Within Distance | Object is within X units of another object | MAPQUERY > Buffer | Locate all hydrants within 200m of a school zone. | | Window/Polygon | Manual graphic selection | SELECT > WP / CP | Quick ad-hoc selection of visible features. |

| Limitation | Workaround | | :--- | :--- | | has no persistent spatial query engine. | Use SELECT > Crossing Polygon or use LISP routines (e.g., (ssget "_CP" ) ). | | Block attributes are not spatially filtered by default. | Explode or use BURST before running Map queries. | | Nested Xrefs require recursive query settings. | In Map Query, check "Include objects from nested xrefs" under Options. | | Distance filters need consistent units. | Use MAPOPTIONS > Set Unit to match drawing units. |

The benefits of using spatial filters in AutoCAD include: