Std StoreWorkingView: Difference between revisions

From FreeCAD Documentation
(Reworded the Description paragraph.)
(V1.0 -> V0.21)
 
(14 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]]
|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 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 the previous working view.
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.
# There are several ways to invoke the command:
# There are several ways to invoke the command:
#* Select the {{MenuCommand|View → Standard views → Store working view}} option from the menu.
#* Select the {{MenuCommand|View → Standard views → Store working view}} option from the menu.
#* 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 view of the active window as working view, run
To store the current camera settings of the active 3D view in a working view:

</translate>
</translate>
{{Code|code=
{{Code|code=
Line 46: 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)