DriveWorks Pro 18: VectorScale [send feedback...]


This function scales the vector by the factor, and returns the result as a pipe-bar delimited list.


VectorScale([Vector], [Factor])


Vector is a pipe-bar delimited list representing the vector (X|Y|Z).

Factor is the scale factor (where 1 results in vector)


VectorScale("1|2|3",5)Will return the vector scaled to a factor of 5, 5|10|15
Floating Point Precision

Due to floating point precision, some calculations may not be as precise as expected.

This can be avoided by following the advice in the topic Info: Floating Point Precision.

Please see How To: Understanding Vector Functions for more information on Vectors, all the Vector functions provided in DriveWorks and use case examples.

Table of Contents