Std: Edit

From FreeCAD Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page Std Edit and the translation is 6% complete.
Outdated translations are marked like this.

Std Edit

Menu location
Edit → Toggle Editmode
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
...

Rezumat

Această comandă permite intrarea sau ieșirea din modul de editare al unui obiect selectat. Un obiect trebuie să fie selectată (apoi intră în modul de editare) sau în modul de editare (apoi iese din modul de editare) pentru ca această comandă să funcționeze.

Usage

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

Notes

  • Some tools will be disabled (greyed-out) in the user interface while an object's edit mode is active.
  • Not all object types have an edit mode.
  • The functionality available in edit mode depends on the object type.
  • An object's edit mode can also be activated by double-clicking it in the Tree view. In that case the edit mode that is used can be defined with the Std UserEditMode command.

Script

See also: FreeCAD Scripting Basics.

Aceasta intră în modul de editare al unui obiect determinat:

import FreeCADGui

FreeCADGui.ActiveDocument.setEdit("myObjectName",0)

The second argument is the EditMode. The following options are available:

0 = Default
1 = Transform
2 = Cutting
3 = Color

Aceasta închide modul de editare:

import FreeCADGui

FreeCADGui.ActiveDocument.resetEdit()