diff --git a/ifc_generator.py b/ifc_generator.py index d508a6f..2c350c1 100644 --- a/ifc_generator.py +++ b/ifc_generator.py @@ -429,8 +429,8 @@ def print_debug(obj): return if element.is_a("IfcSpatialStructureElement"): return - print( - "DEBUG: No Shape returned for element {}, {}, {}".format( + FreeCAD.Console.PrintLog( + "DEBUG: No Shape returned for element {}, {}, {}\n".format( element.id(), element.is_a(), getattr(element, "Name", "") ) )