You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: technical/preferences.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,9 @@ There are two ways of updating preferences:
19
19
20
20
Preference values are retrieved (and sometimes set) using functions from [Base/Parameter.cpp](https://github.com/FreeCAD/FreeCAD/blob/master/src/Base/Parameter.cpp).
21
21
22
-
23
-
22
+
Good examples of retrieving parameters can be found in:
23
+
* Python: [get_param()](https://github.com/FreeCAD/FreeCAD/blob/master/src/Mod/Draft/draftutils/utils.py) in /Mod/Draft/draftutils/util.py
24
+
* C++: [various methods](https://github.com/FreeCAD/FreeCAD/blob/master/src/Mod/TechDraw/App/Preferences.cpp) in /Mod/TechDraw/App/Preferences.cpp
24
25
25
26
## See also
26
27
*[Preference Editor wiki entry](https://wiki.freecad.org/Preferences_Editor)
0 commit comments