Std StoreWorkingView: Difference between revisions

From FreeCAD Documentation
(V1.0 -> V0.21)
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
{{Docnav
{{Docnav
|[[Std_ViewRotateRight|ViewRotateRight]]
|[[Std_ViewRotateRight|ViewRotateRight]]
Line 11: Line 12:
}}
}}


<!--T:2-->
{{GuiCommand
{{GuiCommand
|Name=Std StoreWorkingView
|Name=Std StoreWorkingView
Line 16: Line 18:
|Workbenches=All
|Workbenches=All
|Shortcut={{KEY|Shift}}+{{KEY|End}}
|Shortcut={{KEY|Shift}}+{{KEY|End}}
|Version=1.0
|Version=0.21
|SeeAlso=[[Std_RecallWorkingView|Std RecallWorkingView]]
|SeeAlso=[[Std_RecallWorkingView|Std RecallWorkingView]], [[Std_FreezeViews|Std FreezeViews]]
}}
}}


==Description==
==Description== <!--T:3-->


<!--T:4-->
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 active [[3D_view|3D view]] in its temporary working view. This view can be recalled with the [[Std_RecallWorkingView|Std RecallWorkingView]] command.


<!--T:5-->
A working view belongs to the 3D view that was active when it was created, it will only be used for 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.
Each 3D view has its own working view. Storing a new working view will overwrite the existing working view of the active 3D view. When a 3D view is closed its working view is lost.


==Usage==
==Usage== <!--T:6-->


<!--T:7-->
# Make sure a [[3D_view|3D view]] is active.
# Make sure a [[3D_view|3D view]] is active.
# There are several ways to invoke the command:
# There are several ways to invoke the command:
Line 33: Line 38:
#* Use the keyboard shortcut: {{KEY|Shift}}+{{KEY|End}}.
#* Use the keyboard shortcut: {{KEY|Shift}}+{{KEY|End}}.


==Scripting==
==Scripting== <!--T:8-->


<!--T:9-->
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].


<!--T:10-->
To store the current camera settings of the active 3D view in a working view:
To store the current camera settings of the active 3D view in a working view:


Line 48: Line 55:




<!--T:11-->
{{Docnav
{{Docnav
|[[Std_ViewRotateRight|ViewRotateRight]]
|[[Std_ViewRotateRight|ViewRotateRight]]

Latest revision as of 13:16, 4 June 2023

Std StoreWorkingView

Menu location
View → Standard views → Store working view
Workbenches
All
Default shortcut
Shift+End
Introduced in version
0.21
See also
Std RecallWorkingView, Std FreezeViews

Description

The Std StoreWorkingView command stores the camera settings of the active 3D view in its temporary working view. This view can be recalled with the Std RecallWorkingView command.

Each 3D view has its own working view. Storing a new working view will overwrite the existing working view of the active 3D view. When a 3D view is closed its working view is lost.

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 camera settings of the active 3D view in a working view:

import FreeCADGui

FreeCADGui.runCommand("Std_StoreWorkingView", 0)