Std:Parametri

From FreeCAD Documentation
Jump to: navigation, search
This page is a translated version of the page Std DlgParameter and the translation is 11% complete.

Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎română • ‎русский

Std DlgParameter.svg Std DlgParameter

Menu location
Tools → Parameter
Workbenches
All
Default shortcut
Introduced in version
-
See also

Descriere

Vă permite să accesați și să modificați parametrii / preferințele diferitelor funcții și Ateliere de lucru.

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

Utilizare

Alegeți Tools Edit parameters... din meniul principal.

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

Parameter Editor.jpg

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()