Overview
This script will create a HyperView measure entity of type Distance Between for 2 nodes.
For the current displayed time step / increment it will write the MAG/X/ Y/Z distance values to an external file and to the TCL Console.
Pre-Requisite
Edit lines 9 / 10 to define node-IDs to be used in the distance calculation.
Usage/Installation Instructions
Run script e.g. from DropDown File > Load > Script
(optional) open TCL Console from View DropDown.
Measure of Type Distance Between will be created.

The MAG/X/Y/Z values of the distance measure for current time step / increment will be written to the TCL Console, and to a CSV file located in same folder as the script.