Std ViewFitSelection/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Docnav/fr |Tout afficher |Vue isométrique |Menu affichage |IconL=Std_ViewFitAll.svg |IconR=Std_ViewIsome...")
No edit summary
Line 10: Line 10:
}}
}}


<div class="mw-translate-fuzzy">
{{GuiCommand/fr
{{GuiCommand/fr
|Name=Std ViewFitSelection
|Name=Std ViewFitSelection
|Name/fr=Std Affiche la sélection
|Name/fr=Std Affiche la sélection
|MenuLocation=[[Std View Menu/fr|Affichage]] → Vues Standards → Affiche la sélection
|MenuLocation=Affichage → Vues standards → Affiche la sélection
|Workbenches=Tous
|Workbenches=Tous
|Shortcut={{KEY|v}}{{KEY|s}}
|Shortcut={{KEY|V}} {{KEY|S}}
|SeeAlso=[[Std ViewFitAll/fr|Std Tout afficher]]
|SeeAlso=[[Std ViewFitAll/fr|Std Tout afficher]]
}}
}}
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">

Revision as of 14:43, 13 April 2020

Std Affiche la sélection

Emplacement du menu
Affichage → Vues standards → Affiche la sélection
Ateliers
Tous
Raccourci par défaut
V S
Introduit dans la version
-
Voir aussi
Std Tout afficher

Description

Effectue un zoom jusqu'à ce que tous les objets sélectionnés dans l'arborescence soient affichés dans la vue 3D.

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

Utilisation

Cliquez sur ou faire Affichage → Vues standards → Affiche la sélection dans le menu supérieur.

  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')