Std UserEditMode/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "{{GuiCommand/fr |Name=Std UserEditMode |Name/fr=Std Mode d'édition |MenuLocation=Edition → Mode d'édition → ... |Workbenches=Tous |Version=0.20 |SeeAlso=Std_Edit/fr|St...")
(Created page with "La commande '''Std Bascule mode édition''' définit le mode d'édition à utiliser lorsqu'un objet est double-cliqué dans la Vue en arborescence.")
Line 21: Line 21:
== Description ==
== Description ==


The '''Std UserEditMode''' command defines the edit mode to be used when an object is double-clicked in the [[Tree_view|Tree view]].
La commande '''Std Bascule mode édition''' définit le mode d'édition à utiliser lorsqu'un objet est double-cliqué dans la [[Tree_view/fr|Vue en arborescence]].


== Usage ==
== Usage ==

Revision as of 09:35, 18 October 2021

Other languages:

Std Mode d'édition

Emplacement du menu
Edition → Mode d'édition → ...
Ateliers
Tous
Raccourci par défaut
Aucun
Introduit dans la version
0.20
Voir aussi
Std Bascule mode édition

Description

La commande Std Bascule mode édition définit le mode d'édition à utiliser lorsqu'un objet est double-cliqué dans la Vue en arborescence.

Usage

  1. There are several ways to invoke the command:
    • Click on the black down arrow to the right of the Std UserEditMode button and select an edit mode from the flyout. Note: the button image will change depending on the selected option.
    • In the menu go to View → Edit mode and select an edit mode.

Available edit modes

Default

The object will be edited using its default mode. This edit mode is defined internally to be the most appropriate for the object type. For example, it will be shape properties edition for Part primitives and PartDesign features, placement edition for Part booleans, etc.

Transform

The object will have its placement editable with the Std TransformManip command.

Cutting

This edit mode is implemented as available but currently does not seem to be used by any object.

Color

The object will have the color of its individual faces editable with the Part FaceColors command.

Notes

  • Not all objects support all edit modes. If the selected mode isn't supported by the object, its default edit mode will be used instead.

Preferences

  • The last edit mode is stored: Tools → Edit parameters... → BaseApp → Preferences → General → UserEditMode. It is an integer value. Possible values are 0 (Default), 1 (Transform), 2 (Cutting) or 3 (Color). The default is 0.

Scripting

See also: FreeCAD Scripting Basics.

To list the available edit modes:

import FreeCADGui
FreeCADGui.listUserEditModes()

To get the active edit mode:

import FreeCADGui
FreeCADGui.getUserEditMode()

To set the active edit mode:

import FreeCADGui
FreeCADGui.setUserEditMode(MODENAME) # Where MODENAME is a string available in the list of edit modes