relativetoabs

Changes the reference to a file from relative to absolute.

Syntax

relativetoabsolute(path_1, path_2)

Input

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

Template:
{relativetoabs(d:/"software/motion/", "junk/foo.txt")}
Output:
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.