Std ToggleSelectability/ru: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


{{Docnav/ru
{{Docnav/ru
|[[Std_HideObjects/ru|Std HideObjects]]
|[[Std_HideObjects/ru|Команда "Скрыть все объекты"]]
|[[View_Measure_Toggle_All/ru|View Measure Toggle All]]
|[[View_Measure_Toggle_All/ru|Команда "Показывать замеры"]]
|[[Std_View_Menu/ru|Std View Menu]]
|[[Std_View_Menu/ru|Меню "Вид"]]
|IconL=Std_HideObjects.svg
|IconL=Std_HideObjects.svg
|IconR=View_Measure_Toggle_All.svg
|IconR=View_Measure_Toggle_All.svg
Line 21: Line 21:
The '''Std ToggleSelectability''' command toggles the selectability of objects in [[3D_view|3D views]].
The '''Std ToggleSelectability''' command toggles the selectability of objects in [[3D_view|3D views]].


==Применение==
==Использование==


# Select one or more objects.
# Select one or more objects.
Line 52: Line 52:


{{Docnav/ru
{{Docnav/ru
|[[Std_HideObjects/ru|Std HideObjects]]
|[[Std_HideObjects/ru|Команда "Скрыть все объекты"]]
|[[View_Measure_Toggle_All/ru|View Measure Toggle All]]
|[[View_Measure_Toggle_All/ru|Команда "Показывать замеры"]]
|[[Std_View_Menu/ru|Std View Menu]]
|[[Std_View_Menu/ru|Меню "Вид"]]
|IconL=Std_HideObjects.svg
|IconL=Std_HideObjects.svg
|IconR=View_Measure_Toggle_All.svg
|IconR=View_Measure_Toggle_All.svg

Latest revision as of 03:37, 5 August 2021

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

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

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