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

Module misc

source code

Functions [hide private]
 
copy_knobs(args) source code
 
connect_selected_to_viewer(inputIndex)
Connects the selected node to the given viewer input index, ignoring errors if no node is selected.
source code
 
toggle_monitor_output()
Toggles monitor output (switches it on if it's off, or vice versa) for the currently active viewer.
source code
 
clear_selection_recursive(group=nuke.root())
Sets all nodes to unselected, including in child groups.
source code
 
goofy_title()
Returns a random message for use as an untitled script name.
source code
 
declone(node) source code
 
showname()
Shows the current script path and, if the selected node is a Read or Write node, the filename from it.
source code
 
swapAB(n)
Swaps the first two inputs of a node.
source code
 
print_callback_info(verbose=False, callbackTypes=None)
Returns a list of all currently active callbacks, with the following optional arguments:
source code
Variables [hide private]
  __package__ = 'nukescripts'
Function Details [hide private]

goofy_title()

source code 

Returns a random message for use as an untitled script name. Can be assigned to nuke.untitled as a callable. Put a goofy_title.txt somewhere in your NUKE_PATH to customise.