Std ToggleSelectability/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "{{GuiCommand/ru |Name=Std ToggleSelectability |Name/ru=Std ToggleSelectability |MenuLocation=Вид → Видимость → Откл/вкл выделяемость |Workbe...")
No edit summary
 
(13 intermediate revisions by 3 users 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=
|IconL=Std_HideObjects.svg
|IconR=View_Measure_Toggle_All.svg
|IconR=View_Measure_Toggle_All.svg
|IconC=Freecad.svg
|IconC=Freecad.svg
Line 17: Line 17:
}}
}}


==Описание==
==Description==


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]].


==Применение==
==Usage==


# Select one or more objects.
# Select one or more objects.
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]].
Line 35: Line 35:
==Scripting==
==Scripting==


{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|Смотрите так же:}} [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов в FreeCAD]].


The {{incode|Selectable}} property of an object determines its selectability.
The {{incode|Selectable}} property of an object determines its selectability.
Line 50: Line 50:
}}
}}



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

[[Category:Sandbox]]

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