Maptitude GISDK Help

SetWindowData()

Summary

Stores an array with a window.

 

Changes

Added to Version 5.0.

 

Syntax

SetWindowData(string window_name, array data)

 

Argument

Contents

window_name

String of the form "window type|window name"

data

The array to be stored

 

Notes

Example

folder = RunMacro("G30 Tutorial Folder")

OpenWorkspace(folder + "NELayers.wrkz", null)

mp1 = GetMap()

SetWindowData("Map|" + mp1, {1, 2, 3})

info = GetWindowData("Map|" + mp1)

 

Error Codes

Error Type

Meaning

NotFound

There is no window of the designated type and name

 

See Also

Function

Summary

GetWindowData()

Retrieves an array stored with a window

 

 

©2025 Caliper Corporation www.caliper.com