Hello,

I'm trying to parse the script path and name at render time via
init.py. It seems that init.py executes before the script is actually
loaded. Any other suggestions? I'd like to do this and the same way
that we successfully do it in the UI.

We parse our script path and name on load and save in the UI via some
python in order to set our SHOW, SEQ, SHOT, ROLE environment variables
based on the script path. This works great in the UI, but not at
render time. I have called the same python function in our init.py,
but that doesn't seem to work (returning the script name as "Root").

thx
Dan
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to