Std DlgParameter: Difference between revisions

From FreeCAD Documentation
({{Std Base navi}} to categorize page)
(Marked this version for translation)
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{UnfinishedDocu{{#translation:}}}}
<translate>
<translate>

<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
Line 6: Line 8:
|Icon=Std DlgParameter.svg
|Icon=Std DlgParameter.svg
|Workbenches=All
|Workbenches=All
|MenuLocation=[[Std Tools Menu|Tools]] → Edit parameters...
|MenuLocation={{StdMenu|[[Std Tools Menu|Tools]]}} → Edit parameters...
}}
}}


==Description== <!--T:2-->
==Description== <!--T:20-->

<!--T:2-->
The [[Std DlgParameter|parameter editor]] allows you to access, create, and modify the parameter table that controls different behaviors of FreeCAD and its workbenches.
The [[Std DlgParameter|parameter editor]] allows you to access, create, and modify the parameter table that controls different behaviors of FreeCAD and its workbenches.


Line 15: Line 19:
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.


==How to use== <!--T:3-->
==Usage== <!--T:21-->

Go to the menu {{MenuCommand|Tools → Edit parameters}}; then browse the different categories to access the variables under each category.
<!--T:3-->
Go to the menu {{MenuCommand|{{StdMenu|Tools}} → Edit parameters}}; then browse the different categories to access the variables under each category.


<!--T:8-->
<!--T:8-->
See [[Fine-tuning|fine-tuning]] for some parameters that can be changed.
See [[Fine-tuning|fine-tuning]] to learn what parameters can be changed.


<!--T:6-->
<!--T:6-->
[[Image:Parameter_editor.png]]
[[Image:Parameter_editor.png]]

==Related== <!--T:22-->

<!--T:23-->
* [[Path experimental]] using the Parameter editor to enable experimental features


==Scripting== <!--T:10-->
==Scripting== <!--T:10-->

<!--T:24-->
{{VeryImportantMessage|This section is incomplete and needs to be formulated}}

<!--T:25-->
It is possible to manipulate the Parameter Tree using the FreeCAD Python API:
It is possible to manipulate the Parameter Tree using the FreeCAD Python API:


Line 54: Line 70:
}}
}}
<translate>
<translate>
<!--T:26-->
See also this [https://forum.freecadweb.org/viewtopic.php?f=22&t=44171&p=376955#p376955 forum thread]



<!--T:9-->
{{Std Base navi}}
{{Userdocnavi}}
</translate>
</translate>
{{Std Base{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 21:19, 23 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.

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.

Usage

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

See fine-tuning to learn what parameters can be changed.

Related

Scripting

This section is incomplete and needs to be formulated

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

See also this forum thread