This script captures the XLINE coordinate of the trace that the user clicked. Then, it opens multiple windows, one for each dataset currently open in INTViewer's desktop. Each new window shows a slice for the selected XLINE.
This script is attached at the bottom of this article.
Make sure you have defined a "Python scripts" directory in Tools->Options->Environment->Paths
Store your script in that directory, under a folder name "Contextual_XSection_Seismic_Layer". Make sure the folder name is correct.
Go to Tools->Options->Environment->Python Scripts and click "Refresh from Disk". Your script should be listed automatically.
Open two XSection windows with matching INLINE-XLINE ranges. Right-click on the first window and select "Open Multiple XLINE Slices.py" from the contextual menu.
Two new windows are added automatically, for the selected XLINE.
The "tileAll" instruction at the end of the script has rearranged the layout of the windows.