Python APIs for Seismic Layer Contextual Actions

Getting Started

In order to define a contextual action for seismic layers, you need to put your Python script in your Python directory under a directory called Contextual_XSection_Seismic_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 seismic layer:

This script will create a an inline and crossline slice of the layer, create a new 3D seismic volume object using the key values of the layer's selection to position its slices and then tile the windows

This script is attached to the bottom of this article.

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