Std DlgParameter/fr

Description
La commande Std Editeur des paramètres ouvre l'éditeur de paramètres. Dans l'éditeur de paramètres, les paramètres qui contrôlent le comportement de FreeCAD et de ses ateliers peuvent être inspectés et éventuellement supprimés, ajoutés ou modifiés. Les paramètres sont stockés dans un fichier appelé, l'emplacement de ce fichier dépend de votre système d'exploitation.

Travailler avec l'éditeur de paramètres nécessite une certaine expérience. Pour les paramètres les plus courants, vous pouvez également utiliser l'éditeur de préférences plus pratique.



Utilisation

 * 1) Sélectionnez l'option  dans le menu.
 * 2) La boîte de dialogue Editeur de paramètres s'ouvre. Pour plus d'informations, voir Options.
 * 3) Appuyez sur le bouton  pour mettre à jour immédiatement le fichier . Cela n'est pas nécessaire car FreeCAD mettra automatiquement à jour ce fichier à la fermeture de l'application.
 * 4) Appuyez sur le bouton  pour fermer l'éditeur de paramètres.

Panneau gauche
Le panneau de gauche montre une arborescence avec des groupes de paramètres et des sous-groupes.

Les options suivantes sont disponibles dans le menu contextuel du panneau:

Expand/Collapse

 * 1) If a selected group has one or more sub-groups it can be expanded or collapsed by choosing this option from the context menu. But you can also expand and collapse the tree in the usual manner.

Add sub-group

 * 1) Select a group.
 * 2) Select the  option from the context menu.
 * 3) Enter a name for the new sub-group in the dialog box that opens.
 * 4) Press the  button.

Remove group

 * 1) Select a group.
 * 2) Select the  option from the context menu.
 * 3) Press the  button in the dialog box that opens to confirm you want to remove the group (including all its sub-groups, and all parameters in the group and its sub-groups).

Rename group

 * 1) Select a group.
 * 2) Select the  option from the context menu.
 * 3) Enter a new name.
 * 4) A group can also be renamed by double-clicking it.

Export parameter

 * 1) Select a group.
 * 2) Select the  option from the context menu.
 * 3) Enter a filename in the dialog box.
 * 4) Press the  button.

Import parameter

 * 1) Select a group that does not contain any sub-groups or remove them first. Any existing parameters in the group will be lost.
 * 2) Select the  option from the context menu.
 * 3) Select a *.FCParam file in the dialog box.
 * 4) Press the  button.

Right panel
The right panel shows the parameters in the group selected in the left panel. If this group only contains sub-groups the right panel will be empty.

The following options are available in the panel's context menu:

Change value

 * 1) Select a parameter.
 * 2) Select the  option from the context menu.
 * 3) Enter a new value in the dialog box that opens.
 * 4) Press the  button.
 * 5) A parameter's value can also be changed by double-clicking its 'Type' or 'Value' field.

Remove key

 * 1) Select a parameter.
 * 2) Select the  option from the context menu.

Rename key

 * 1) Select a parameter.
 * 2) Select the  option from the context menu.
 * 3) Enter a new name.
 * 4) A parameter can also be renamed by double-clicking its 'Name' field.

New string item

 * 1) Select the  or  option from the context menu.
 * 2) Enter a name in the dialog box that opens.
 * 3) Press the  button.
 * 4) Enter a value in the next dialog box.
 * 5) Press the  button.

New float item

 * 1) Select the  or  option from the context menu.
 * 2) The next steps are similar to those for a New string item

New integer item

 * 1) Select the  or  option from the context menu.
 * 2) The next steps are similar to those for a New string item

New unsigned item

 * 1) Select the  or  option from the context menu.
 * 2) The next steps are similar to those for a New string item

New Boolean item

 * 1) Select the  or  option from the context menu.
 * 2) The next steps are similar to those for a New string item

Sorting
By default the groups in each tree level in the left panel are sorted alphabetically, and the parameters in the right panel are sorted alphabetically as well. But the order in each panel can be reversed by clicking the 'Group' or 'Name' header respectively.

Quick search
Typing a (partial) string in this input box will fully expand the tree in the left panel and highlight all groups with names that match the entered value. If no matches are found the background of the input box will turn red.

Find

 * 1) In the left panel select the group where you want to start your search. The search direction is down. The search is not restricted to the group and its sub-groups, but rather the selected group and everything below it in the tree will be searched.
 * 2) Press the  button.
 * 3) Enter a string in the Find what input box. The search is case-insensitive.
 * 4) Check one or more of the,  and  checkboxes. Note that only string values will be searched.
 * 5) Optionally (un)check the  checkbox.
 * 6) Press the  button to select the first group with a match. Matching parameters are not individually highlighted. Optionally repeat this until no further matches can be found.
 * 7) It is possible to start a new search without closing the dialog box. Again selecting the group from which to start searching is then usually required.
 * 8) Use the  button to close the dialog box.

Script
FreeCAD Scripting Basics.

For a scripting example see Std SelBoundingBox.