Preset.renamePreset
bool renamePreset(string oldName, string newName)Renames a preset. If there is already a preset by the new_name it will be overwritten.
Parameters
oldName | current preset name |
newName | new preset name |
Returns
true for success, false if e.g. there is no preset with old_name