Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.3 KB

Std_ViewTop.md

File metadata and controls

52 lines (31 loc) · 1.3 KB
Error in user YAML: (<unknown>): did not find expected alphabetic or numeric character while scanning an alias at line 5 column 14
---
 GuiCommand:
   Name: Std ViewTop
   MenuLocation: View , Standard views , Top
   Workbenches: All
   Shortcut: **2**
   SeeAlso: Std_ViewFront, Std_ViewRight
---

Std ViewTop

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 Std ViewTop 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 also:

FreeCAD Scripting Basics.

To change to top view use the viewTop method of the ActiveView object. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewTop()
FreeCADGui.ActiveDocument.ActiveView.getViewDirection()

{{Std Base navi}}


documentation index > Std ViewTop