Nuke tcl script constants

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.

Detailed Description

The following is a list of builtin Nuke constants.


Variable Documentation

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.

See also:
nuke_version

Minor version number of nuke.

See also:
nuke_version

Build number of nuke, incremented for each released code change.

See also:
nuke_version

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.

See also:
version_long, version function

Printable nuke version number and build date.

 nuke> puts $version_long
 Nuke 4.6.000 Mar 22 2007
See also:
nuke_version

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.