Std Edit: Difference between revisions

From FreeCAD Documentation
m (Chanaged from Synopsis to Description (uniformity))
mNo edit summary
Line 7: Line 7:
|[[Std_DlgPreferences|Std DlgPreferences]]
|[[Std_DlgPreferences|Std DlgPreferences]]
|[[Std_Edit_Menu|Std Edit Menu]]
|[[Std_Edit_Menu|Std Edit Menu]]
|IconL=Std_Alignment.png
|IconL=Std_Alignment.svg
|IconC=Freecad.svg
|IconC=Freecad.svg
|IconR=Std_DlgPreferences.svg
|IconR=Std_DlgPreferences.svg
Line 29: Line 29:


<!--T:5-->
<!--T:5-->
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-->
Line 55: Line 55:
|[[Std_DlgPreferences|Std DlgPreferences]]
|[[Std_DlgPreferences|Std DlgPreferences]]
|[[Std_Edit_Menu|Std Edit Menu]]
|[[Std_Edit_Menu|Std Edit Menu]]
|IconL=Std_Alignment.png
|IconL=Std_Alignment.svg
|IconC=Freecad.svg
|IconC=Freecad.svg
|IconR=Std_DlgPreferences.svg
|IconR=Std_DlgPreferences.svg
Line 62: Line 62:
<!--T:12-->
<!--T:12-->
{{Std Base navi}}
{{Std Base navi}}

{{Userdocnavi}}
{{Userdocnavi}}
</translate>
</translate>

Revision as of 17:35, 8 February 2020

Std Edit

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

Description

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()