Std Edit

Description
The Std Edit command activates or deactivates an object's edit mode.

Usage

 * 1) If no object is in edit mode: select a single object.
 * 2) Select the  option from the menu.
 * 3) Either the edit mode of the selected object is activated or the existing edit mode deactivated.

Scripting
FreeCAD Scripting Basics.

To activate an object's edit mode use the method of the document object. This method is not available if FreeCAD is in console mode.

The second argument is the EditMode, an enum declared in src/Gui/ViewProvider.h (latest version on master), which is declared as follows.

To deactivate an object's edit mode use the method of the document object.