Select to view content in your preferred language

Shared variables for use in definition queries in a Map Document

466
1
03-22-2011 03:50 AM
Status: Open
JurajKrumpolec
Regular Contributor
User defined global variables and universal constants generally accessible in a Map Document, freely applicable in definition queries across different layers (or in other expressions), allowing user to easily and simultaneously control multiple layers’ appearance by simply modifying the value of the shared variable.
 
Example:
continent = 'Africa'  # global variable
Layer A Definition Query: "CONTINENT" = continent
Layer B Definition Query: "CONTINENT" <> continent
1 Comment
BruceLang
This can be merged with my request "Implement global variables within ArcGIS Desktop"