Std DlgParameter/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "Edytor parametrów")
 
(Created page with "{{GuiCommand/pl |Name=Parameter editor |Name/pl=Edytor parametrów |Icon=Std DlgParameter.svg |Workbenches=Wszystkie |MenuLocation=Narzędzia → Edytor parametrów ... }}")
Line 1: Line 1:
<languages/>
<languages/>
{{GuiCommand
{{GuiCommand/pl
|Name=Parameter editor
|Name=Parameter editor
|Name/pl=Edytor parametrów
|Icon=Std DlgParameter.svg
|Icon=Std DlgParameter.svg
|Workbenches=All
|Workbenches=Wszystkie
|MenuLocation=[[Std Tools Menu|Tools]] → Edit parameters...
|MenuLocation=Narzędzia Edytor parametrów ...
}}
}}



Revision as of 10:24, 4 February 2020

Edytor parametrów

Lokalizacja w menu
Narzędzia → Edytor parametrów ...
Środowisko pracy
Wszystkie
Domyślny skrót
brak
Wprowadzono w wersji
-
Zobacz także
brak

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.

Usage

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