Converting a shape to an arbitrary line

In this script, we take the coordinates of a shape and create an arbitrary line from that shape

To use this script, place in the Contextual_Map_Outline_Layer directory of your Python scripts directory


Open the Tools->Options->Python and press Refresh from Disk

This Python script should show when opening the contextual menu of an outline layer on a map

After execution, an arbitrary line (in blue) is created and the GIS layer is hidden

Click this blue line to select that arbitrary line

Then proceed to the next steps in your workflow, such as selecting Extract Seismic Data