Python APIs for Well Log Track Contextual Actions
Getting Started
In order to define a contextual action for well log tracks, you need to put your Python script in your Python directory under a directory called Contextual_Well_Log_Track.
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 well log track:
This script will create a new Linear or Logarithmic track (the opposite of the track selected; axis tracks are ignored), and copies all shapes in the selected
track to the newly created one.
This script is attached to the bottom of this article.
The result after the script executes should look something like the following.