- GuiCommand: Name: Std ToggleSelectability MenuLocation: View -> Visibility -> Toggle selectability Workbenches: All
The Std ToggleSelectability command toggles the selectability of objects in 3D views.
- 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. This option is not available in the PartDesign Workbench.
- Select the Toggle selectability option from the 3D view context menu.
- The selectability of an object can also be changed through its related Selectable property in the Property editor or the Combo view.
See also:
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
{{Std Base navi}}
⏵ documentation index > Std ToggleSelectability