relativetoabs

Changes the reference to a file from relative to absolute.

Syntax

relativetoabs(path_1, path_2)

Argument

path_1
The path starting from the root directory to which path_2 will be appended.
path_2
The local path including the file name, which will be appended to path_1.

Example

Templex Expression Results
{relativetoabs(d:/"software/motion/", "junk/foo.txt")} D:/software/motion/junk/foo.txt

Comments

relativetoabs can be used in Templex templates within the MBD pre-processing window to modify the method used to reference a file.