nuke.setReadOnlyPresets

nuke.setReadOnlyPresets(readOnly) None

Sets whether newly created presets should be added in read-only mode. Read-only presets can be applied to a node, but can’t be overwritten or deleted.