Houdini 19.0 VEX VEX Functions relpath

relpath VEX function

Returns the relative path to a file.

Since 18.0

string  relpath(string abspath)

Returns the supplied path converted to a relative path, expressed as relative to Houdini’s current working directory. The file does not need to exist.

See also

relpath