Jump to content

Std UserEditMode

From FreeCAD Documentation

Std UserEditMode

Menu location
Edit → Edit Mode → …
Workbenches
All
Default shortcut
None
Introduced in version
0.20
See also
Std Edit

Description[edit | edit source]

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

Usage[edit | edit source]

  1. In the menu go to Edit → Edit Mode and select an edit mode.

Available edit modes[edit | edit source]

Default[edit | edit source]

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[edit | edit source]

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

Cutting[edit | edit source]

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

Color[edit | edit source]

The object will have the appearance of its individual faces editable with the Part ColorPerFace command.

Notes[edit | edit source]

  • 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.

Scripting[edit | edit source]

See also: Autogenerated API documentation and 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