Std StoreWorkingView: Difference between revisions

From FreeCAD Documentation
(Page creation)
 
m (Typo in command name)
Line 14: Line 14:
<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Std Std_StoreWorkingView
|Name=Std StoreWorkingView
|MenuLocation=View → Standard views → Store working view
|MenuLocation=View → Standard views → Store working view
|Workbenches=All
|Workbenches=All

Revision as of 13:33, 6 October 2022

Std StoreWorkingView

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

Description

The Std StoreWorkingView stores the current view -- camera parameters -- in a temporary slot called 'working view' where it can then be recalled. The working view is a per-view(tab) temporary unique slot, which means:

  • 'per-view' : the working view exists only in the scope of the current tab viewport. Storing doesn't (and can't) affect other tabs -- which may be other documents, or different views of same document --.
  • 'temporary' : the working view will be lost as soon as the tab is closed.
  • 'unique' : only one working view exists in its own scope. Storing a new working view will override the former one if exists.

Usage

  1. 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)