Visualizza: Commuta la selezionabilità

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page Std ToggleSelectability and the translation is 54% complete.
Outdated translations are marked like this.
Other languages:
English • ‎français • ‎italiano • ‎polski • ‎русский

Std ToggleSelectability.svg Std ToggleSelectability

Posizione nel menu
Visualizza → Visibilita → Commuta la selezionabilità
Ambiente
All
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Nessuno

Descrizione

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

Utilizzo

  1. Select one or more objects.
  2. There are several ways to invoke the command:
    • Select the View → Visibility → Std ToggleSelectability.svg Toggle selectability option from the menu.
    • Select the Std ToggleSelectability.svg Toggle selectability option from the Tree view context menu. This option is not available in the PartDesign Workbench.
    • Select the Std ToggleSelectability.svg Toggle selectability option from the 3D view context menu.

Note

  • The selectability of an object can also be changed through its related DatiSelectable property in the Property editor or the Combo view.

Script

Vedere anche: Script di base per 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