|
|
| Menu location |
|---|
| View → Visibility → Toggle Selectability |
| Workbenches |
| All |
| Default shortcut |
| None |
| Introduced in version |
| - |
| See also |
| None |
Description
The Std ToggleSelectability command toggles the selectability of objects in 3D Views.
Usage
- Select one or more objects.
- 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 or 3D View context menu.
- Select the View → Visibility →
Notes
- The selectability of an object can also be changed through its related DataSelectable property in the Property View.
Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
The Selectable property of an object determines its selectability.
import FreeCADGui
obj = FreeCADGui.ActiveDocument.myObjectName
obj.Selectable = not obj.Selectable
This page is retrieved from https://wiki.freecad.org/Std_ToggleSelectability