diff --git a/src/Mod/Path/PathCommands.py b/src/Mod/Path/PathCommands.py index e5a7d83d4c..29e26d83ea 100644 --- a/src/Mod/Path/PathCommands.py +++ b/src/Mod/Path/PathCommands.py @@ -141,8 +141,10 @@ class _ToggleOperation: return False try: for sel in FreeCADGui.Selection.getSelectionEx(): - if not isinstance(PathScripts.PathDressup.baseOp(sel.Object).Proxy, PathScripts.PathOp.ObjectOp): - return False + selProxy = PathScripts.PathDressup.baseOp(sel.Object).Proxy + if not isinstance(selProxy, PathScripts.PathOp.ObjectOp) and \ + not isinstance(selProxy, PathScripts.PathArray.ObjectArray): + return False return True except(IndexError, AttributeError): return False