Std UserEditMode

Description
The Std UserEditMode command defines the edit mode to be used when an object is double-clicked in the Tree view.

Usage
Choose an edit mode among available ones:
 * 1) EditModeDefault.svg Default: the object will be edited with its default mode. The edit mode is defined internally to be the most appropriate according the object type: for example, it will be shape properties edition for Part primitives and PartDesign features, placement edition with transform tool for boolean operations, ...
 * 2) EditModeTransform.svg Transform: the object will have its placement editable with the Transform manipulator
 * 3) EditModeCutting.svg Cutting: ??? this mode is implemented as available but seems to be currently not used by any object in FreeCAD
 * 4) EditModeColor.svg Color: the object will have its individual faces color editable with the face color editor

Scripting
FreeCAD Scripting Basics.

To list the available edit modes:

To get the active edit mode:

To set the active edit mode: