Std DlgParameter

From FreeCAD Documentation
Revision as of 00:33, 29 October 2019 by Kunda1 (talk | contribs) (→‎Scripting)

Parameter editor

Menu location
Tools → Edit parameters...
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
None

Description

The parameter editor allows you to access, create, and modify the parameter table that controls different behaviors of FreeCAD and its workbenches.

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

How to use

Go to the menu Tools → Edit parameters; then browse the different categories to access the variables under each category.

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
{{{1}}}

.GetInt .RemInt .GetUnsigned

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