Basic Filters

AutoCAD Map 3D Geospatial Platform API

Basic Filters

Basic filters perform logical tests of feature properties. You can construct complex queries by combining expressions. Expressions use the comparison operators below:

Operator Meaning
= Equality
<> Not equal
< Less than
<= Less than or equal to
> Greater than
>= Greater than or equal to
LIKE Used for string comparisons. The “%” wildcard represents any sequence of 0 or more characters. The “_” wildcard represents any single character. For example, “LIKE Schmitt%” will search for any names beginning with “Schmitt”.

The comparison operators can be used with numeric or string properties, except for the LIKE operator, which can only be used with string properties.

Combine or modify expressions with the standard boolean operators AND, OR, and NOT.