nuke.getPresets

nuke.getPresets() → None

gets a list of all presets for the currently selected node’s class :return: a pyList containing all nodename/presetname pairs.