diff --git a/src/ifccsv/ifccsv.py b/src/ifccsv/ifccsv.py index 68bb7bcd21..538248a44d 100755 --- a/src/ifccsv/ifccsv.py +++ b/src/ifccsv/ifccsv.py @@ -37,7 +37,8 @@ class IfcAttributeExtractor: try: new_element = ifc_file.create_entity(new_class) except: - return + print(f"Class of {element} could not be changed to {new_class}") + return element new_attributes = [new_element.attribute_name(i) for i, attribute in enumerate(new_element)] for i, attribute in enumerate(element): try: