Hi there! Internet Explorer is no longer supported.

Please use a modern web browser such as Firefox, Chromium or Edge. Thank you!

Preferences

How to handle, retrieve and update user preferences.

Remarque

Cette page n’a pas encore été traduite en français, la version anglaise est donc utilisée. Envie de contribuer à la traduction ? Contribuer

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