ID 165261 - Multiple constants are missing for addFavoriteDir/removeFavoriteDir in the Nuke Python API

Follow

Problem summary
Multiple constants are missing for addFavoriteDir/removeFavoriteDir in the Nuke Python API.


Customer reported version
nuke.12.0v2


Customer reported platform
centos7


Steps to reproduce

1) In Nuke, open the Script Editor.

2) Run the following snippet: nuke.addFavoriteDir('myTmp','/tmp',nuke.MISC)

3) Observe the Script Editor for output.


Expected behavior
The nuke.MISC, nuke.PROJECT, nuke.SEQUENCE item should be included in the Nuke Python API to enable the favorite for the file browsers, such as the LiveGroups.


Actual behavior
The nuke.MISC, nuke.PROJECT, nuke.SEQUENCE are missing from the Nuke Python API, and are not able to be set pythonically. An error is given for each when used for nuke.addFavoriteDir()


Workaround
The user can enable the MISC, PROJECT, or SEQUENCE in the .nuke/FileChooser_Favorites.pref file by adding the following flags: -project -misc -sequence


Reproduced by Support in

Nuke 12.0v3 - Windows 10, CentOS 7, macOS 10.13

Nuke 12.0v1 - Windows 10

Nuke 11.3v5 - Windows 10

Nuke 11.3v1 - Windows 10

Nuke 11.2v1 - Windows 10

Nuke 11.1v1 - Windows 10

Nuke 11.0v1 - Windows 10

Nuke 10.5v1 - Windows 10

Nuke 10.0v1 - Windows 10

Nuke  9.0v1 - Windows 10

Nuke  8.0v1 - Windows 10, CentOS 7, macOS 10.13


Earliest version tested
Nuke 8.0v1 - This issue appears to be in all versions of the product

    We're sorry to hear that

    Please tell us why