Std Edit: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
mNo edit summary
Line 4: Line 4:
{{GuiCommand|Name=Std Edit|MenuLocation=[[Std_Edit_Menu|Edit]] → Toggle Editmode|Workbenches=All|SeeAlso=...}}
{{GuiCommand|Name=Std Edit|MenuLocation=[[Std_Edit_Menu|Edit]] → Toggle Editmode|Workbenches=All|SeeAlso=...}}


==== Synopsis ==== <!--T:2-->
== Synopsis == <!--T:2-->


<!--T:3-->
<!--T:3-->
Line 15: Line 15:
You can also perform the same action by double-clicking an object in the Tree View.
You can also perform the same action by double-clicking an object in the Tree View.


==== Scripting ==== <!--T:6-->
== Scripting == <!--T:6-->


<!--T:7-->
<!--T:7-->

Revision as of 09:52, 22 October 2019

Std Edit

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

Synopsis

This command allows to enter or leave the edit mode of a selected object. An object must be either selected (then it enters edit mode) or in edit mode (then it leaves edit mode) for this command to work.

The behaviour that occurs when entering edit mode depends on the object type. Some object types don't define any edit mode behaviour, in that case the standard behaviour (a transform widget) is used.

You can also perform the same action by double-clicking an object in the Tree View.

Scripting

This enters edit mode of a determined object:

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

This closes the edit mode:

FreeCADGui.ActiveDocument.resetEdit()