Package nukescripts :: Module version
[hide private]
[frames] | no frames]

Module version

source code

Functions [hide private]
 
version_get(string, prefix, suffix=None)
Extract version information from filenames used by DD (and Weta, apparently) These are _v# or /v# or .v# where v is a prefix string, in our case we use "v" for render version and "c" for camera track version.
source code
 
version_set(string, prefix, oldintval, newintval)
Changes version information from filenames used by DD (and Weta, apparently) These are _v# or /v# or .v# where v is a prefix string, in our case we use "v" for render version and "c" for camera track version.
source code
 
version_up()
All new version_up that uses the version_get/set functions.
source code
 
version_down()
All new version_down that uses the version_get/set functions.
source code
 
version_latest()
Like version_up, but only goes up to the highest numbered version that exists.
source code
Variables [hide private]
  __NODES_FOR_VERSION = ('Read', 'Write', 'Precomp', 'DeepRead',...
  __package__ = 'nukescripts'
Function Details [hide private]

version_get(string, prefix, suffix=None)

source code 

Extract version information from filenames used by DD (and Weta, apparently) These are _v# or /v# or .v# where v is a prefix string, in our case we use "v" for render version and "c" for camera track version. See the version.py and camera.py plugins for usage.

version_set(string, prefix, oldintval, newintval)

source code 

Changes version information from filenames used by DD (and Weta, apparently) These are _v# or /v# or .v# where v is a prefix string, in our case we use "v" for render version and "c" for camera track version. See the version.py and camera.py plugins for usage.

version_up()

source code 

All new version_up that uses the version_get/set functions. This script takes the render version up one in selected iread/writes.

version_down()

source code 

All new version_down that uses the version_get/set functions. This script takes the render version up one in selected iread/writes.

version_latest()

source code 

Like version_up, but only goes up to the highest numbered version that exists.

Works on all selected Read nodes, or all Read nodes if nothing is selected.

Does not modify Write nodes.


Variables Details [hide private]

__NODES_FOR_VERSION

Value:
('Read', 'Write', 'Precomp', 'DeepRead', 'DeepWrite', 'LiveGroup')