Std ParameterDialog |
Menüeintrag |
---|
Werkzeuge → Parameter bearbeiten... |
Arbeitsbereich |
All |
Standardtastenkürzel |
Keiner |
Eingeführt in Version |
- |
Siehe auch |
Voreinstellungseditor |
Der Befehl Std ParameterDialog öffnet den Parametereditor. Im Parametereditor können die Parameter eingesehen und bei Bedarf gelöscht, hinzugefügt und geändert werden, die das Verhalten von FreeCAD und seinen Arbeitsbereichen steuern. Die Parameter werden in einer Datei namens user.cfg gespeichert, deren Speicherort vom benutzten Betriebssystem abhängt.
Mit dem Parametereditor zu arbeiten erfordert etwas Erfahrung. Für die üblichsten Parameter sollte der benutzerfreundlichere Voreinstellungseditor verwendet werden.
Das Dialogfenster des Parametereditors
The left panel shows a tree with parameter groups and sub-groups.
The following options are available in the panel's context menu:
The right panel shows the parameters in the group selected in the left panel. If this group only contains sub-groups the right panel will be empty.
The following options are available in the panel's context menu:
By default the groups in each tree level in the left panel are sorted alphabetically, and the parameters in the right panel are sorted alphabetically as well. But the order in each panel can be reversed by clicking the 'Group' or 'Name' header respectively.
Typing a (partial) string in this input box will fully expand the tree in the left panel and highlight all groups with names that match the entered value. If no matches are found the background of the input box will turn red.
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
Preferences can be accessed from Python scripts using their corresponding path in the Parameter Editor. For example, the Edit → Preferences → Import-Export → DXF → Import options → Join geometry preference appears in Tools → Edit parameters → BaseApp → Preferences → Mod → Draft → dxfCreatePart and has type Boolean
. It can therefore be accessed in Python using the following code:
# get:
App.ParamGet("User parameter:BaseApp/Preferences/Mod/Draft").GetBool('dxfCreatePart')
# set:
App.ParamGet("User parameter:BaseApp/Preferences/Mod/Draft").SetBool('dxfCreatePart', True)