Std DlgParameter/ro: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 5: Line 5:
{{GuiCommand|Name=Std DlgParameter|Workbenches=All|MenuLocation=[[Std Tools Menu|Tools]] → Parameter |Shortcut=|SeeAlso=}}
{{GuiCommand|Name=Std DlgParameter|Workbenches=All|MenuLocation=[[Std Tools Menu|Tools]] → Parameter |Shortcut=|SeeAlso=}}
</div>
</div>

==Description==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 12: Line 14:


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

==Usage==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 54: Line 58:




{{Std Base navi{{#translation:}}}}
{{Std Base{{#translation:}}}}

{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 20:55, 13 March 2020

This documentation is not finished. Please help and contribute documentation.

GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

Std DlgParameter

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

Description

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.

Usage

Utilizare

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

See fine-tuning to learn what parameters 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()