We enforce cross-platform compatibility using environment variables ($ENV_VAR/path) in our file dependencies. It seems like Nuke (which we're just starting to use on our farm), doesn't expand variables by default - only when set as:

[getenv ENV_VAR]/path

I'm aware that there are other ways to resolve filepaths in Nuke, but I'm curious why "$ENV_VAR" isn't supported - apparently Nuke recognizes that "$" designates a variable. If you use:

$ENV_VAR/path

in a file knob in Nuke, the error comes up as "can't read ENV_VAR: no such variable".

Am I missing something basic here? Our compositing pipeline was previously based around Shake, which had no problems expanding variables in filepaths...

Cheers,
Daniel

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to