It sounds like you may be setting the Write node’s path using a path that 
includes backslashes, not forward slashes. Is there a reason for that?

-Nathan



From: Noggy 
Sent: Friday, June 01, 2012 12:06 PM
To: [email protected] 
Subject: [Nuke-python] Re: Setting a file path into a write node

Some more clues.

My file path is correct in the Properties Window but when I open the folder 
prompt, the slashes are gone! I copy the path before I go into the prompt, 
paste the path in "save as" box. A Nuke dialog box appears saying "Replace with 
full file path string" (Yes/No). I say yes and it works, all my slashes are 
reversed and rendering works.

I'm using: writePath = os.sep.join(wList) 
to add "/" back into a list I ".split('/')[:2]" 

I find it weird the "\" don' appear within the "save as" prompt. I understand 
Nuke is weird with it's back/forward slashes. Is there a quick fix or do I need 
to set a different value with the same path?


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

Reply via email to