Returns a Vector object based on (X2-X1), Y2-Y1), (Z2-Z1). The values for X1, Y1, and Z1 default to 0, 0, 0.
Syntax
objectVariable = Library.CreateVector(X2, Y2, [Z2], [X1], [Y1], [Z1])
Where:
objectVariable is a variable representing a Vector object.
X1, Y1, and Z1 are double-precision variables representing the x, y, and z coordinates of the first point of the vector.
X2, Y2, and Z2 are double-precision variables representing the x, y, and z coordinates of the second point.
Examples ...