Python APIs for Gis Data Node Contextual Actions

Getting Started

In order to define a contextual action for gis data nodes, you need to put your Python script in your Python directory under a directory called Contextual_GIS_Data_Node.

Go to Tools->Options->Environment->Python Scripts and click "Refresh from Disk". Your script should be listed automatically.

You will now be able to execute this script from the contextual menu of the gis data node:

This script will show the coordinate information for the gis data in a new dialog window.

This script is attached at the bottom of this article.

The result after the script executes should look something like the following.