refreshPreferenceRegistry(registry_name, new_prefs, clear_existing=False)
Updates the specified preference registry with new values and saves the changes to the user preference directory ($HOUDINI_USER_PREF_DIR
).
Parameters ¶
registry_name
The unique identifier of the preference registry to refresh.
new_prefs
A dictionary containing the updated preference values. See hou.createPreferenceRegistry() for details.
clear_existing
If True
, clears all existing preferences before applying new_prefs
. If clear_existing
is False
,
only the provided preferences are updated or added, while existing ones remain unchanged.
See also |