Maptitude GISDK Help |
Creates multiple selection sets of records, using the classification technology of CreateTheme().
sets = CreateGroup(string field_spec, string method, int num_classes, array options)
Argument |
Contents |
field_spec |
The field spec for the field on which the theme is based |
method |
The method used to generate the classes |
num_classes |
The number of classes you want to create |
For complete documentation of the methods and options to CreateGroup(), see CreateTheme().
An array of set names.
The arguments to CreateGroup() are similar to those of CreateTheme().
CreateGroup() does not actually create a theme on the layer.
One selection set is created for each theme class.
If method is specified as Categories and num_classes as null, then the function will create one set for each distinct value in the data field.
// An income classification with eight classes
sets = CreateGroup("County.Income", "Quantiles", 8,)
Error Type |
Meaning |
NotFound |
There is no current layer, or the specified field(s) do not exist on the current layer |
Escape |
The user interrupted scanning of the data |
Error |
An argument or option has the wrong type or the wrong number of values, or an error occurred while scanning the data |
Function |
Summary |
Creates multiple selection sets of records, using an existing theme |
|
Creates a color or pattern theme on the current layer |
|
Provides information on the classes created by a call to CreateTheme() |
©2025 Caliper Corporation | www.caliper.com |