nuke.setUserPreset

nuke.setUserPreset(nodeClassName, presetName, knobValues) None

Create a node preset for the given node using the supplied knob values

Parameters
  • nodeClassName – Name of the node class to create a preset for.

  • presetName – Name of the preset to create.

  • knobValues – A dictionary containing a set of knob names and preset values.

Returns

bool.