Std StoreWorkingView: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 24: Line 24:
The '''Std StoreWorkingView''' command stores the camera settings of the current view in a temporary, [[3D_view|3D view]] specific, working view. Such a view can be recalled with the [[Std_RecallWorkingView|Std RecallWorkingView]] command.
The '''Std StoreWorkingView''' command stores the camera settings of the current view in a temporary, [[3D_view|3D view]] specific, working view. Such a view can be recalled with the [[Std_RecallWorkingView|Std RecallWorkingView]] command.


A working view belongs to the 3D view it was created in, it can only be used in that 3D view and will be lost when the 3D view is closed. For each 3D view only one working view can exist, storing a new working view will overwrite an existing working view.
A working view belongs to the 3D view it was created in, it can only be used in that 3D view and will be lost when the 3D view is closed. For each 3D view only one working view can exist, storing a new working view will overwrite an existing one.


==Usage==
==Usage==

Revision as of 20:43, 7 October 2022

Std StoreWorkingView

Menu location
View → Standard views → Store working view
Workbenches
All
Default shortcut
Shift+End
Introduced in version
1.0
See also
Std_RecallWorkingView

Description

The Std StoreWorkingView command stores the camera settings of the current view in a temporary, 3D view specific, working view. Such a view can be recalled with the Std RecallWorkingView command.

A working view belongs to the 3D view it was created in, it can only be used in that 3D view and will be lost when the 3D view is closed. For each 3D view only one working view can exist, storing a new working view will overwrite an existing one.

Usage

  1. Make sure a 3D view is active.
  2. There are several ways to invoke the command:
    • Select the View → Standard views → Store working view option from the menu.
    • Use the keyboard shortcut: Shift+End.

Scripting

See also: FreeCAD Scripting Basics.

To store the current view of the active window as working view, run

import FreeCADGui

FreeCADGui.runCommand("Std_StoreWorkingView", 0)