nukescripts.misc

Functions

clear_selection_recursive

Sets all nodes to unselected, including in child groups.

connect_selected_to_viewer

Connects the selected node to the given viewer input index, ignoring errors if no node is selected.

copy_knobs

declone

goofy_title

Returns a random message for use as an untitled script name.

print_callback_info

Returns a list of all currently active callbacks, with the following optional arguments: verbose=False : prints the documentation as well as the callback callbackTypes=None : limit the callback info to a particular callback type (e.g. ['OnCreates']).

showname

Shows the current script path and, if the selected node is a Read or Write node, the filename from it.

swapAB

Swaps the first two inputs of a node.