The following is a list of builtin Nuke constants. More...
Variables | |
WIN32 | |
True on Windows machines, false on Unix. | |
MACOS | |
True on Mac OS/X machines, false on Unix or Windows. | |
nuke_version_major | |
Major version number of nuke. | |
nuke_version_minor | |
Minor version number of nuke. | |
nuke_version_build | |
Build number of nuke, incremented for each released code change. | |
nuke_version | |
Return the version of Nuke. | |
version_long | |
Printable nuke version number and build date. | |
this_system_id | |
Hash of the license used to run Nuke. |
The following is a list of builtin Nuke constants.
True on Windows machines, false on Unix.
This is used to determine if drive letters need to be added or stripped from filenames.
True on Mac OS/X machines, false on Unix or Windows.
This is used to determine if drive letters need to be added or stripped from filenames.
Major version number of nuke.
Minor version number of nuke.
Build number of nuke, incremented for each released code change.
Return the version of Nuke.
Floating-point version number that you can use for greater/less comparisons. This is M.mbbb where M is the major number, m the minor, and bbb the build. So for instance nuke4.3.16 is 4.3016.
Printable nuke version number and build date.
nuke> puts $version_long Nuke 4.6.000 Mar 22 2007
Hash of the license used to run Nuke.
This number is a hash of the system id read from the Nuke license key. A plugin can use this to confirm that it is running on a particular installation of Nuke.