| Maptitude GISDK Help |
Selects all features that are not part of another selection set.
n = SetInvert(string set_name, string input_set)
| Argument | Contents |
|---|---|
| set_name | The set to be created |
| input_set | The set to invert |
The number of elements in the set.
If the set does not already exist, it is created. If it already exists, the contents of the set are replaced.
Set_name and input_set can be the same set. In this case, input_set is replaced with the inverted version.
All selection commands operate on the current layer.
n = SetInvert("Not High Income", "High Income")
| Error Type | Meaning |
|---|---|
| Error | The set name is invalid or the input set is invalid |
| NotFound | The input set cannot be found |
| Function | Summary |
|---|---|
| CreateSet() | Creates a new, empty set on the current view |
| IsMember() | Tests whether a record is a member of a selection set |
| SetAND() | Selects features that are in all of several input selection sets |
| SetOR() | Selects features in any of several input sets |
| SetXOR() | Selects features that are in only one of several selection sets |
| ©2025 Caliper Corporation | www.caliper.com |