Команда "Уместить выделенное"

From FreeCAD Documentation
Revision as of 19:37, 10 September 2021 by Evgeniy (talk | contribs) (Created page with "==Программирование==")

Уместить выделенное

Системное название
Std_ViewFitSelection
Расположение в меню
Вид → Стандартные виды‏‎ → Уместить выделенное
Верстаки
Все
Быстрые клавиши
V S
Представлено в версии
-
См. также
Уместить всё

Описание

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

Применение

  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.


Программирование

Смотрите так же: Основы составления скриптов в FreeCAD.

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