Get Distance Full Function
Function to find the distance between two nodes and the overall distance vector
This script uses pythagoras therom in 3 dimensinal space to find the vector, x, y and z distance between two nodes or user-defined points.
The function works by: • If third argument is true, script will return vector distance without using pythagoras. In the example, the user is prompted to select two nodes in the model, and the distance between the nodes are subsequently displayed in the dialogue box (root value is set to false). |