Maptitude GISDK Help

GetSetPosition()

Summary

Gets the position of a selection set on the current map layer.

 

Syntax

pos = GetSetPosition(string set_name)

 

Argument

Contents

set_name

The name of the selection set

 

Returns

An integer indicating the position of the set within the layer.

 

Notes

Example

// Make sure that Super High income settings are always shown

setnames = GetSets()

pos = GetSetPosition("High Income")

if pos < setnames.length+1 then SetSetPosition("High Income", setnames.length+1)

 

Error Codes

Error Type

Meaning

NotFound

The selection set does not exist

 

See Also

Function

Summary

SetSetPosition()

Sets the position of a selection set on a layer

 

 

©2025 Caliper Corporation www.caliper.com