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

From VFXPedia

< EyeonTips:Script | Reference/Applications/Fusion/Classes/Fusion
Revision as of 19:44, 29 February 2008 by Izyk (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Setting the preferences for PathMaps can be a pain. The syntax for SetPref makes it nearly impossible to access these directly. Instead, try the following.

  map = fusion:GetPrefs("Global.Paths.Map")
  map["Fonts:"] = [[C:\Windows\Fonts\]]
  fusion:SetPrefs("Global.Paths.Map", map)