Команда "Откл/вкл выделяемость"

From FreeCAD Documentation
This page is a translated version of the page Std ToggleSelectability and the translation is 38% complete.
Outdated translations are marked like this.
Other languages:

Std ToggleSelectability

Расположение в меню
Вид → Видимость → Откл/вкл выделяемость
Верстаки
All
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Нет

Описание

The Std ToggleSelectability command toggles the selectability of objects in 3D views.

Применение

  1. Select one or more objects.
  2. There are several ways to invoke the command:
    • Select the View → Visibility → Toggle selectability option from the menu.
    • Select the Toggle selectability option from the Tree view context menu or 3D view context menu.

Примечания

  • The selectability of an object can also be changed through its related ДанныеSelectable property in the Property editor.

Scripting

The Selectable property of an object determines its selectability.

import FreeCADGui

obj = FreeCADGui.ActiveDocument.myObjectName

obj.Selectable = not obj.Selectable