By using the python command nuke.addFavoriteDir() you can add any favorites
directories like this:

import nuke

defaultsFavorites = {
                     "PROJECTS":"//your_project_path/",
                     "FOOTAGES_2D":"//your_project_path/footages_2d",
                     "FOOTAGES_3D":"//your_project_path/footages_3d",
                     }

def feedFavorites():
    for item in defaultsFavorites:
        nuke.addFavoriteDir(item, defaultsFavorites[item])

On Tue, Jun 2, 2015 at 4:23 PM, Rich Bobo <[email protected]> wrote:

> Hi,
>
> Is there any way to re-order the file chooser bookmarks, other than to
> manually edit the /.nuke/FileChooser_Favorites.pref file…?  I *really* want
> to be able to organize those things in the GUI…  Seems archaic that we
> can’t!   (8^\
>
> Rich
>
>
> Rich Bobo
> Senior VFX Compositor
> Armstrong White
> Email:  [email protected]
> http://armstrong-white.com/
>
> Email:  [email protected]
> Mobile:  (248) 840-2665
> Web:  http://richbobo.com/
>
>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>


-- 
Matthieu Cadet
Compositor Artist & TD,
nWave Digital
[email protected]
_______________________________________________
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