I should say '...python script to load a nukescript through a panel...'
Howard
>________________________________
> From: Howard Jones <[email protected]>
>To: Nuke Python discussion <[email protected]>
>Sent: Tuesday, 1 May 2012, 13:34
>Subject: [Nuke-python] Setting paths
>
>
>Hi
>
>
>I've set up a script to load a shot through a panel, which is fine,
>
>and am using
>
>
># OPEN SCRIPT
>nuke.scriptOpen(os.path.join(scriptsDir,script))
>
>
>Then I am trying to set the directory paths using
>
>
>nuke.addFavoriteDir(name = shot,directory = nukeDir,type =
>nuke.IMAGE+nuke.GEO)
>
>
>
>but what happens is I end up with an untitled script with the favorites added
>and nothing in the new loaded script.
>
>
>What I'd like is no untitled script and the favorites in the newly opened
>script.
>what am I doing wrong?
>
>Thanks
>
>Howard
>
>_______________________________________________
>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