View on GitHub

FreeCAD Developers Handbook

A handbook about FreeCAD development

Handling Preferences #

How to retrieve and update user preferences.

The user.cfg XML file contains a hierarchical list of all the preferences used by FreeCAD.

Each module has its own branch of the hierarchy starting under Preferences/Mod.

There are two ways of updating preferences:

Preference values are retrieved (and sometimes set) using functions from Base/Parameter.cpp.

Good examples of retrieving parameters can be found in:

See also #