Python APIs for Layer Point Field Node Contextual Actions

Getting Started

In order to define a contextual action for layer point field nodes, you need to put your Python script in your Python directory under a directory called Contextual_Layer_Point_Field_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 layer point field node:

This script will create a new 3D representation of the data to which this field belongs and set the selected attribute to this field. This example uses horizon data.

This script is attached to the bottom of this article.

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