AppSettings

Synopsis

This class gathers all settings of Natron. You can access them exactly like you would for the Effect class.

Functions

Member functions description

NatronEngine.AppSettings.getParam(scriptName)
Parameters

scriptNamestr

Return type

Param

Returns a Param by its scriptName. See this section for a detailed explanation of what is the script-name.

NatronEngine.AppSettings.getParams()
Return type

sequence

Returns a sequence with all Param composing the settings.

NatronEngine.AppSettings.restoreDefaultSettings()

Restores all settings to their default value shipped with Natron.

NatronEngine.AppSettings.saveSettings()

Saves all the settings on disk so that they will be restored with their current value on the following runs of Natron.