nuke.applyPreset

nuke.applyPreset(nodeName, presetName) → None

Applies a given preset to the current node. :param nodeName: Name of the node to apply the preset to. :param presetName: Name of the preset to use. :param node: (optional) a Node object to apply the preset to. If this is provided, the nodeName parameter is ignored. :return: bool.