Std ViewRotateRight/ro: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
|[[Std_ViewRotateLeft|Std ViewRotateLeft]]
|[[Std_FreezeViews|Std FreezeViews]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewRotateLeft.svg
|IconR=
|IconC=Freecad.svg
}}

<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{GuiCommand|Name=Std_RotateRight|Workbenches=All|SeeAlso=...}}
{{GuiCommand|Name=Std_RotateRight|Workbenches=All|SeeAlso=...}}
Line 18: Line 28:
</div>
</div>


==Scripting==
{{clear}}

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

To rotate the view to the right use the {{incode|viewRotateRight}} method of the ActiveView object. This method is not available if FreeCAD is in console mode.

{{Code|code=
import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewRotateRight()
FreeCADGui.ActiveDocument.ActiveView.getCameraOrientation()
}}

{{Docnav
|[[Std_ViewRotateLeft|Std ViewRotateLeft]]
|[[Std_FreezeViews|Std FreezeViews]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewRotateLeft.svg
|IconR=
|IconC=Freecad.svg
}}

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

Revision as of 20:37, 9 April 2020

Std_RotateRight

Menu location
None
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
...

Rezumat

De completat

Usage

  • Press Shift + Right or go to View → Standard views → Rotate Right.

Scripting

See also: FreeCAD Scripting Basics.

To rotate the view to the right use the viewRotateRight method of the ActiveView object. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewRotateRight()
FreeCADGui.ActiveDocument.ActiveView.getCameraOrientation()