diff --git a/src/Mod/CAM/Path/Op/Base.py b/src/Mod/CAM/Path/Op/Base.py index 6ac133eee7..9e2cd55ac5 100644 --- a/src/Mod/CAM/Path/Op/Base.py +++ b/src/Mod/CAM/Path/Op/Base.py @@ -828,7 +828,7 @@ class ObjectOp(object): self.commandlist.append(Path.Command("G0", {"Z": obj.ClearanceHeight.Value})) # Add block delete annotations if enabled - if obj.BlockDelete: + if hasattr(obj, "BlockDelete") and obj.BlockDelete: for command in self.commandlist: annotations = command.Annotations annotations["BlockDelete"] = True