Maptitude GISDK Help |
A number of macros in the Maptitude standard interface are useful for developing add-ins and custom applications. The following Standard Interface Macros are documented in this section:
Standard Interface Macro |
Description |
Adds a freehand symbol item to a map or layout |
|
Selects or edits freehand items on a map or layout |
|
Adds a freehand text item to a map or layout |
|
Calls a command on the Standard Interface menus |
|
Creates or updates the legend |
|
Closes all windows and files |
|
Displays the appropriate style dialog box for a layer |
|
Displays the Layers dialog box |
|
Sets default display styles for a new layer |
|
Displays the Autoscale dialog box |
|
Creates an array of colors that can be used as the variable for a color drop-down list |
|
Creates an array containing arrays of colors, which are designed for use with the List of Values method for color themes |
|
Creates an array of fillstyles that can be used as the variable for a fill style drop-down list |
|
Creates an array containing arrays of fillstyles, which are designed for use with the List of Values method for pattern themes |
|
Creates an array of linestyles that can be used as the variable for a line or border style drop-down list |
|
Creates an array containing arrays of linestyles, which are designed for use with the List of Values method for pattern themes for lines |
|
Creates an array of color palettes that can be used for choosing sets of styles for color themes |
|
Creates an array containing arrays of fillstyles, which are designed for use when choosing sets of styles for pattern themes |
|
Returns the full path to the folder where the tutorial files are installed |
|
Updates the information about the original table on which the database (db) is based |
|
Updates the drop-down list on the map toolbar |
|
Checks whether the given selection set name already exists for the current layer |
|
Creates a new selection set for the current layer, with a unique name and default display settings |
|
Deletes a selection set from the current layer, and removes it from appropriate editors, toolbars, and toolboxes |
Note that:
Some of these are dialog box resources rather than macro resources
The actual names used to call them are case sensitive
The actual names start with a code such as "G30" to distinguish them as being parts of the Standard Interface.
Old geocoding macros have been deprecated:
Geocode Macro |
Description |
Creates or adds to a point geographic file by locating records using a streets layer or a Location index |
|
Finds the location of a single address |
|
Finds the location of a single address and returns an array that, if an exact match has not been found for the input address, includes an array of partial match results listing geocoding scores and street segment information |
The following set of geocoding macros for locating addresses use a Location index:
Location Index Geocode Macro |
Description |
Lists all the address standardization rule files that are installed in the program folder |
|
Lists all "City, State" standardization rule files that are installed in the program folder |
|
Gets the properties of a Location index |
|
Loads a Location index into memory, if necessary, and gets a handle to the index |
|
Finds an address using a Location index |
|
Drops a specific Location index from memory |
|
Drops all Location indexes from memory |
See Location Index Example for an example of how to use many of these macros together in Caliper Script.
©2025 Caliper Corporation | www.caliper.com |