Std ViewFitSelection/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "Std: Dopasuj wybór do widoku")
 
(Created page with "{{Docnav/pl |Dopasuj wszystko |Widok izometryczny |Menu Widok |IconL=Std_ViewFitAll.svg |IconR=Std_ViewIsom...")
Line 1: Line 1:
<languages/>
<languages/>


{{Docnav
{{Docnav/pl
|[[Std_ViewFitAll|ViewFitAll]]
|[[Std_ViewFitAll/pl|Dopasuj wszystko]]
|[[Std_ViewIsometric|ViewIsometric]]
|[[Std_ViewIsometric/pl|Widok izometryczny]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu/pl|Menu Widok]]
|IconL=Std_ViewFitAll.svg
|IconL=Std_ViewFitAll.svg
|IconR=Std_ViewIsometric.svg
|IconR=Std_ViewIsometric.svg

Revision as of 07:01, 17 October 2021

Std ViewFitSelection

Menu location
View → Standard views → Fit selection
Workbenches
All
Default shortcut
V S
Introduced in version
-
See also
Std ViewFitAll

Description

The Std ViewFitSelection command zooms and pans the camera so that all selected objects fit inside the active 3D view.

Usage

  1. Select one or more objects.
  2. There are several ways to invoke the command:
    • Press the Std ViewFitSelection button.
    • Select the View → Standard views → Fit selection option from the menu.
    • Select the Fit selection option from the 3D view context menu.
    • Use the keyboard shortcut: V then S.


Scripting

See also: FreeCAD Scripting Basics.

To change the view to 'fit selection' the SendMsgToActiveView method of the FreeCADGui object can be used. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.SendMsgToActiveView('ViewSelection')