Std ViewTop: Difference between revisions

From FreeCAD Documentation
mNo edit summary
mNo edit summary
Line 43: Line 43:
==Scripting== <!--T:7-->
==Scripting== <!--T:7-->


See [[Std_ViewFront#Scripting|Std_ViewFront]].
<!--T:8-->
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

<!--T:9-->
Use the {{incode|viewTop}} method of the View object to change to top view.

</translate>
{{Code|code=
import FreeCADGui

view = FreeCADGui.ActiveDocument.ActiveView
view.viewTop()
}}
<translate>





Revision as of 17:38, 9 July 2024

Std ViewTop

Menu location
View → Standard views → Top
Workbenches
All
Default shortcut
2
Introduced in version
-
See also
Std ViewFront, Std ViewRight

Description

The Std ViewTop command points the camera in the active 3D view in the direction of the negative Z axis.

Arrow 2 points in the direction of the top view

Usage

  1. There are several ways to invoke the command:
    • Press the Top button.
    • Select the View → Standard views → Top option from the menu.
    • Select the Standard views → Top option from the 3D view context menu.
    • Use the keyboard shortcut: 2.

Scripting

See Std_ViewFront.