Python APIs for Map Well Layer Contextual Actions

Getting Started

In order to define a contextual action for map well layers, you need to put your Python script in your Python directory under a directory called Contextual_Map_Well_Layer.

Go to Tools->Options->Environment->Python Scripts (or Tools->Options->Python->Scripts in INTViewer 5.2) 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 map well layer:

This script will open the well in a new XSection window, with seismic data based on the map window, or from file.

This script is attached to the bottom of this article.

The result after the script executes should look something like the following (after selecting the appropriate range to display the well layer)