nuke.filename(node) seems to resolve it just fine for me


On 3/17/14, 9:23 PM, Ron Ganbar wrote:
Hi all,
I'm using the project directory structure for relative paths in Nuke.
So the Project Directory text field has: [python {nuke.script_directory()}]
Then I use the ./../../path/to/file/file.jpg structure.
However, now that I run scripts that call for the file path they don't work as they can't resolve the path.
Any ideas how to get the full path? Is there a function in Nuke that takes care of resolving the path with the Project Directory?

Thanks,
Ron Ganbar
email: ron...@gmail.com
tel: +44 (0)7968 007 309 [UK]
     +972 (0)54 255 9765 [Israel]
url: http://ronganbar.wordpress.com/


_______________________________________________
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


_______________________________________________
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