diff --git a/src/Mod/Fem/femtools/femutils.py b/src/Mod/Fem/femtools/femutils.py index 6e2cfc89cb..6cb9594b50 100644 --- a/src/Mod/Fem/femtools/femutils.py +++ b/src/Mod/Fem/femtools/femutils.py @@ -106,7 +106,7 @@ def isDerivedFrom(obj, t): def getBoundBoxOfAllDocumentShapes(doc): overalboundbox = None for o in doc.Objects: - if hasattr(o, 'Shape') and hasattr(o.Shape, 'BoundBox'): # netgen mesh obj has an attribut Shape which is a Document obj, which has no BB + if hasattr(o, 'Shape') and hasattr(o.Shape, 'BoundBox'): # netgen mesh obj has an attribute Shape which is a Document obj, which has no BB try: bb = o.Shape.BoundBox except: