nuke.createNode

nuke.createNode(node, knobs, inpanel) Node

Creates a node of the specified type and adds it to the DAG.

Parameters
  • node (str) – Name of node class to create (e.g. ‘Blur’).

  • knobs (str, optional) – TCL list of knob name value pairs.

  • inpanel (bool, optional) – Open the control bin (only applies when the GUI is running), defaults to True.

Returns

The node created.

Return type

nuke.Node