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