Eyeon:Script/Reference/Applications/Fusion/Classes/Composition/GetPrefs
From VFXPedia
< Eyeon:Script | Reference | Applications | Fusion | Classes | Composition
Contents |
Fusion / Composition : 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 preferences for a Composition, or a subtable, or a specific value.
Requirements
- eyeonScript 5.0
- Fusion 5.0
Examples
dump(comp:GetPrefs("Comp.Paths.Map"))
print(comp:GetPrefs("Comp.AutoSave.Enabled"))
See Also
Tips for GetPrefs (edit)
EyeonTips:Script/Reference/Applications/Fusion/Classes/Composition/GetPrefs