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. For Groups, LiveGroups and Gizmos, use the node preset ID from nuke.getNodePresetID() instead.
presetName – Name of the preset to create.
knobValues – A dictionary containing a set of knob names and preset values.
- Returns
bool.