nuke.setPreset

nuke.setPreset(nodeClassName, presetName, knobValues) → None

Create a node preset for the given node using the supplied knob values :param nodeClassName: Name of the node class to create a preset for. :param presetName: Name of the preset to create. :param knobValues: A dictionary containing a set of knob names and preset values. :return: bool.