bim.override_object_join - a bit more readable error message

Use name instead of bpy_struct repr, add a line split.
This commit is contained in:
Andrej730
2025-04-02 17:45:56 +05:00
parent 40af3f0495
commit f69b02cad9
@@ -1775,8 +1775,8 @@ class OverrideJoin(bpy.types.Operator, tool.Ifc.Operator):
obj.select_set(False)
self.report(
{"ERROR"},
f"IFC join failed - object '{obj}' has a different representation type "
f"({obj_rep.RepresentationType}) than target '{self.target}' ({representation_type}).",
f"IFC join failed - object '{obj.name}' has a different representation type "
f"({obj_rep.RepresentationType})\nthan target '{self.target.name}' ({representation_type}).",
)
return