Eyeon:Script/Reference/Applications/Fusion/Classes/Fusion/GetPrefs

From VFXPedia

Jump to: navigation, search

Contents

Fusion : GetPrefs

Arguments

value = GetPrefs([prefname])

  • prefname [optional, string]

The name of the specific preference to be retrieved. Use dots to indicate subtables. If no prefname is specified, a table of all the preferences is returned.


Returns

  • value [any type]

A table of preferences, or a specific preference value.


Remarks

This function is useful for getting the full table of global preferences, or a subtable, or a specific value.


Requirements

  • eyeonScript 5.0
  • Fusion 5.0

Examples

dump(fusion:GetPrefs("Global.Paths.Map"))
print(fusion:GetPrefs("Global.Controls.GrabDistance"))


See Also


Tips for GetPrefs (edit)

EyeonTips:Script/Reference/Applications/Fusion/Classes/Fusion/GetPrefs