The sequence file browser uses the Hiero API not the nuke api. Briefly looking through the api docs it doesn’t appear this is documented. https://www.thefoundry.co.uk/products/hiero/developers/2.0/hieropythondevguide/
On Wednesday, January 13, 2016, Brian Willard <br...@radarstudios.com> wrote: > > I'm dynamically adding and removing favorites from the file chooser via > python using > nuke.addFavoriteDir() and it works great for ''image browser" "python > browser" "script browser" "font browser" & "geo browser" I but can't find > how to add favorites for the "sequence browser" and "project "browser" > options. > > to add a favorite for the geo & image browser I'm using: > nuke.addFavoriteDir('test', directory='/var/tmp', type=17) > > and to remove it: > nuke.removeFavoriteDir('test', 17) > > > here is a list of the bitwise operators and combinations I found from > help(nuke) > nuke.IMAGE = 1 > nuke.SCRIPT = 2 > nuke.FONT = 4 > nuke.GEO = 16 > nuke.PYTHON = 32 > nuke.IMAGE|nuke.GEO = 17 > nuke.IMAGE|nuke.SCRIPT|nuke.GEO = 19 > nuke.IMAGE|nuke.SCRIPT|nuke.GEO|nuke.PYTHON = 51 > > > if I add a favorite in the GUI and select sequence & project, it writes > the following line to FileChooser_Favorites.pref in my .nuke folder: > add_favorite_dir -project -sequence test test "" /var/tmp/ > > which looks like tcl, but if I try to execute: > nuke.tcl("add_favorite_dir -project -sequence test test "" /var/tmp/") > > it fails to add the proper favorite. Any suggestions? > > Brian >
_______________________________________________ Nuke-users mailing list Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users