Maptitude GISDK Help |
Selects features that are in only one of several selection sets.
n = SetXOR(string set_name, array input_sets)
Argument |
Contents |
set_name |
The name of the set to be created |
input_sets |
The list of sets to search |
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.
SetXOR() fills the new set with records that are in any one of the input sets, but not in more than one.
All selection commands operate on the current layer.
n = SetXOR("Rich or Male-not Both", {"Rich Persons", "Males"})
nrecs = SetXOR("X", {"X", "Y", "Z"}) // X = in one of X or Y or Z
Error Type |
Meaning |
Error |
The set name is invalid or one of the input sets is invalid |
NotFound |
One of the input sets does not exist |
Function |
Summary |
Tests whether a record is a member of a selection set |
|
Selects features that are in all of several input selection sets |
|
Selects all features that are not part of another selection set |
|
Selects features in any of several input sets |
©2025 Caliper Corporation | www.caliper.com |