Std ToggleSelectability/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "==Использование==")
(Created page with "==Примечания==")
Line 29: Line 29:
#* Select the {{MenuCommand|[[Image:Std_ToggleSelectability.svg|16px]] Toggle selectability}} option from the 3D view context menu.
#* Select the {{MenuCommand|[[Image:Std_ToggleSelectability.svg|16px]] Toggle selectability}} option from the 3D view context menu.


==Примечания==
==Notes==


* The selectability of an object can also be changed through its related {{PropertyData|Selectable}} property in the [[Property_editor|Property editor]] or the [[Combo_view|Combo view]].
* The selectability of an object can also be changed through its related {{PropertyData|Selectable}} property in the [[Property_editor|Property editor]] or the [[Combo_view|Combo view]].

Revision as of 21:38, 7 May 2020

Other languages:

Std ToggleSelectability

Системное название
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. This option is not available in the PartDesign Workbench.
    • Select the Toggle selectability option from the 3D view context menu.

Примечания

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

Scripting

See also: FreeCAD Scripting Basics.

The Selectable property of an object determines its selectability.

import FreeCADGui

obj = FreeCADGui.ActiveDocument.myObjectName

if obj.Selectable == True:
  obj.Selectable = False
else:
  obj.Selectable = True