Std: Przełącz możliwość zaznaczenia obiektu

From FreeCAD Documentation
Revision as of 14:33, 29 August 2022 by Kaktus (talk | contribs) (Created page with "{{Docnav/pl |Ukryj wszystkie obiekty |Przełącz widoczność wymiarów |Std Menu Widok |IconL=Std_H...")

Std: Przełącz możliwość zaznaczenia

Lokalizacja w menu
Widok → Widoczność → Przełącz możliwość zaznaczenia
Środowisko pracy
wszystkie
Domyślny skrót
brak
Wprowadzono w wersji
-
Zobacz także
brak

Opis

Polecenie Przełącz możliwość zaznaczenia przełącza możliwość wyboru obiektów w oknie widoku 3D.

Użycie

  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.

Notes

  • The selectability of an object can also be changed through its related DANESelectable 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