Std ParameterDialog

From FreeCAD Documentation
Revision as of 12:11, 14 January 2020 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Std DlgParameter

Menüeintrag
Werkzeuge → Parameter bearbeiten
Arbeitsbereich
Alle
Standardtastenkürzel
Keiner
Eingeführt in Version
-
Siehe auch
Keiner

Beschreibung

Der Parameter-Editor erlaubt den Zugang zu und die Änderung von Parametern/Einstellungen der verschiedenen Funktionen und Arbeitsbereiche.

The most common options can be changed from the preferences editor, but certain tweaks are only accessible through the parameter editor.

Anwendung

Wähle WerkzeugeParameter bearbeiten... aus der Menüleiste.

See fine-tuning for some parameters that can be changed.

Scripting

It is possible to manipulate the Parameter Tree using the FreeCAD Python API:

.GetBool(variable,bool) # method to get boolean

.SetBool        # method to set boolean
.GetString
.SetString
.GetFloat
.SetFloat
.SetInt(variable, int) method to set integer
Example: to set the height of the Addon Manager 
pref = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Addons")
pref.SetInt("WindowHeight",480)

.GetInt
.RemInt
.GetUnsigned
App.ParamGet('User Parameters:BaseApp').GetGroup()
.GetContents()