Preset.setMeta

bool setMeta(string name, string tag, string value = null)

Sets a new value for an existing meta data item or adds a new item. Meta data tag names can be something like e.g. "comment". Supplying null for the value will unset an existing value.

Parameters

namepreset name
tagmeta data item name
valuenew value

Returns

true for success, false if e.g. there is no preset with that name