Std Edit/ro: Difference between revisions

From FreeCAD Documentation
(Created page with "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 m...")
(Updating to match new version of source page)
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
|[[Std_Alignment|Alignment]]
|[[Std_UserEditMode|UserEditMode]]
|[[Std_Edit_Menu|Std Edit Menu]]
|IconL=Std_Alignment.svg
|IconR=Std_UserEditMode.svg
|IconC=Freecad.svg
}}

<div class="mw-translate-fuzzy">
{{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=...}}
</div>


<div class="mw-translate-fuzzy">
==== Rezumat ====
==== Rezumat ====
</div>


<div class="mw-translate-fuzzy">
Această comandă permite intrarea sau ieșirea din modul de editare al unui obiect selectat. Un obiect
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)
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.
pentru ca această comandă să funcționeze.
</div>

==Usage==

# If no object is in edit mode: select a single object.
# Select the {{MenuCommand|Edit → [[Image:Std_Edit.svg|16px]] Toggle Edit mode}} option from the menu.
# 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|Tree view]]. In that case the edit mode that is used can be defined with the [[Std_UserEditMode|Std UserEditMode]] command.

<div class="mw-translate-fuzzy">
=== Script ===
</div>

{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

<div class="mw-translate-fuzzy">
Aceasta intră în modul de editare al unui obiect determinat:
</div>

{{Code|code=
import FreeCADGui


FreeCADGui.ActiveDocument.setEdit("myObjectName",0)
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.


The second argument is the EditMode. The following options are available:
You can also perform the same action by double-clicking an object in the Tree View.


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


<div class="mw-translate-fuzzy">
This enters edit mode of a determined object:
Aceasta închide modul de editare:
</div>


{{Code|code=
FreeCADGui.ActiveDocument.setEdit("myObjectName",0)
import FreeCADGui


FreeCADGui.ActiveDocument.resetEdit()
This closes the edit mode:
}}


FreeCADGui.ActiveDocument.resetEdit()


{{Docnav
|[[Std_Alignment|Alignment]]
|[[Std_UserEditMode|UserEditMode]]
|[[Std_Edit_Menu|Std Edit Menu]]
|IconL=Std_Alignment.svg
|IconR=Std_UserEditMode.svg
|IconC=Freecad.svg
}}


{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}
{{clear}}

Latest revision as of 18:08, 11 October 2021

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