mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user