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 <richb...@mac.com> 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:  rich.b...@armstrong-white.com
> http://armstrong-white.com/
>
> Email:  richb...@mac.com
> Mobile:  (248) 840-2665
> Web:  http://richbobo.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
>
>


-- 
Matthieu Cadet
Compositor Artist & TD,
nWave Digital
matthieu.ca...@gmail.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

Reply via email to