In reference to the above, I'm looking to start trying to make a hopefully temporary 'work-in' for this. Does any one know if there is a way to calculate T-Value of individual points of a Line? I want to index them into an array.
Here it's not the dot product to use like this.
You seach the distance to the line, so it's a double cross product.
ASSIGN/V1=CROSS(CROSS(LIN1.HIT[1..LIN1.NUMHITS].XYZ-LIN1.SXYZ,LIN1.IJK),LIN1.IJK)
ASSIGN/T_VAL=DOT((LIN1.HIT[1..LIN1.NUMHITS].XYZ-LIN1.SXYZ),V1)
I'm not at the cmm to check, so I use SXYZ to use start point instead of centroid.
I do it because the result of the cross product could change of direction from a side to another of the centroid.
This should help :
ASSIGN/V1=CROSS(CROSS(LIN1.HIT[1..LIN1.NUMHITS].XYZ-LIN1.SXYZ,LIN1.IJK),LIN1.IJK)
ASSIGN/T_VAL=DOT((LIN1.HIT[1..LIN1.NUMHITS].XYZ-LIN1.SXYZ),V1)