Std DlgParameter/it: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 31: Line 31:
[[Image:Parameter_editor.png]]
[[Image:Parameter_editor.png]]


==Related==

* [[Path experimental]] using the Parameter editor to enable experimental features

<div class="mw-translate-fuzzy">
==Script==
==Script==
È possibile manipolare la struttura dei parametri utilizzando l'API Python di FreeCAD:
È possibile manipolare la struttura dei parametri utilizzando l'API Python di FreeCAD:
</div>

{{VeryImportantMessage|This section is incomplete and needs to be formulated}}

It is possible to manipulate the Parameter Tree using the FreeCAD Python API:


{{Code|code=
{{Code|code=
Line 59: Line 69:
.GetContents()
.GetContents()
}}
}}
See also this [https://forum.freecadweb.org/viewtopic.php?f=22&t=44171&p=376955#p376955 forum thread]





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.

Parametri

Posizione nel menu
Strumenti → Modifica parametri...
Ambiente
Tutti
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Nessuno

Description

Descrizione

Editor dei parametri consente di accedere e modificare i parametri e le preferenze delle diverse funzioni e ambienti di lavoro.

Le opzioni più comuni possono essere modificate dall' editor delle preferenze, ma alcune modifiche sono accessibili solo tramite l'editor dei parametri.

Usage

Uso

Andare nel menu Strumenti → Modifica parametri; quindi sfogliare le diverse categorie per accedere alle variabili in ciascuna categoria.

Consultare fine-tuning per vedere quali parametri possono essere modificati.

Related

Script

È possibile manipolare la struttura dei parametri utilizzando l'API Python di FreeCAD:

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