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

 * 1) There are several ways to invoke the command:
 * 2) * Click on the black down arrow to the right of the button and select an edit mode from the flyout. Note: the button image will change depending on the selected option.
 * 3) * In the menu go to and select an edit mode.

[[Image:Std_UserEditModeDefault.svg|24px]] 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.

[[Image:Std_UserEditModeTransform.svg|24px]] Transform
The object will have its placement editable with the Std TransformManip command.

[[Image:Std_UserEditModeCutting.svg|24px]] Cutting
This edit mode is implemented as available but currently does not seem to be used by any object.

[[Image:Std_UserEditModeColor.svg|24px]] Color
The object will have the color of its individual faces editable with the Part FaceColors command.

Preferences

 * The last edit mode is stored: . It is an integer value. Possible values are (Default),  (Transform),  (Cutting) or  (Color). The default is.

Scripting
FreeCAD Scripting Basics.

To list the available edit modes:

To get the active edit mode:

To set the active edit mode: