are there any news around this ?
is this planed for the next release?

thanks for the info 

On January 18, 2016 at 10:05 AM Frank Harrison <[email protected]> wrote:

Thanks Deke.

Brian, I've logged the following bug for the issue
Bug #173108 [Python] nuke file-browser python APIs do not affect Sequnce Browser

Looks like we missed that API when we unified the file-browsers.
Thanks for the feedback.
F.

On 18 January 2016 at 03:19, Deke Kincaid <[email protected]> wrote:
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.


On Wednesday, January 13, 2016, Brian Willard < [email protected]> 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
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


--
Frank Harrison
Senior Nuke Software Engineer
The Foundry
Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906 
Email: [email protected]  


 



____ ESET 13328 (20160413) ____
The message was checked by ESET Mail Security.
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to