nuke.getPresets

nuke.getPresets() None

Gets a list of all presets for the currently selected node’s class

Returns:

a pyList containing all nodename/presetname pairs.