For example:
- Code: Select all
$ENV_VAR/path/to/texture.tx
where $ENV_VAR's value is a UNC path, like \\server\share (we're on Windows).
If we simply enter the path above, it will usually force the attribute into an expression, but it won't resolve correctly (as seen in the Path Manager). My understanding was that it shouldn't need to be an expression if it just has an environment variable. If it's an expression, it would need to then be something like this, correct?
- Code: Select all
join_path(ENV_VAR, "path/to/texture.tx")
But it would be much nicer to just leave it with $ENV_VAR at the head. We have been able to get this to work, so we're assuming it is supported?
After various attempts at un-setting the expression, editing it in the attribute, bringing up the expression editor, and browsing to the file before replacing the head with $ENV_VAR give different results, we haven't really been able to find a predictable method to set the path so it resolves as expected.
Any advice, or experience with something like this?