|
Menu location |
---|
View → Visibility → Toggle selectability |
Workbenches |
All |
Default shortcut |
None |
Introduced in version |
- |
See also |
None |
The Std ToggleSelectability command toggles the selectability of objects in 3D views.
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