nuke.getNodePresetID

nuke.getNodePresetID() → None

gets the node preset identifier for the currently selected node :return: a string containing the ID.