Internal module for Nuke's localization functionality.
Adds a callback for file localization events
|
addFileCallback(callback)
@param callback is a python callable object with arguments for path and event. |
|
|
Adds a callback for read localization events
|
addReadCallback(callback)
@param callback is a python callable object with arguments for Read and status. |
|
|
Trigger a manual file check, which checks and updates the states of
localised files.
|
|
Clears unused files in the localization folder
|
clearUnusedFiles(pathPrefix= "",
olderThan= None)
@param pathPrefix Only clear files within this path. |
|
|
Returns the list of read nodes that read from the argument paths
|
findNodes()
Returns:
List of read nodes that read from the @param paths. |
|
|
Update all localized files currently in use in Nuke
|
|
Update all on-demand localized files
|
|
Update all localized files used by nodes that are currently selected
|
|
Check if localization is paused
|
|
gets the percentage of localization completed.
|
|
gets paths of files which are currently localized
|
localizedPaths()
Returns:
List of strings containing file paths of localized paths |
|
|
gets the current localization system mode
|
mode()
@return string 'on', 'off' or 'manual' |
|
|
Pause the localization background thread if it was running
|
|
Removes a callback for file localization events
|
removeFileCallback(callback)
@param callback is a python callable object with arguments path and
eventID. |
|
|
Removes a callback for read localization events
|
removeReadCallback(callback)
@param callback is a python callable object with arguments path and
eventID. |
|
|
Resume the localization background thread if it was paused
|
|
sets the localization system mode
|
|