Python APIs for Fault Data Node Contextual Actions

Getting Started

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

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 fault data node:

This script will open a file chooser to select a seismic data file, and open the fault data in a XSection, Map and 3D window using the selected file as reference data.

This script is attached to the bottom of this article.

The windows that are created after the script executes should look something like the following.