mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 22:16:41 +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)
|
obj.select_set(False)
|
||||||
self.report(
|
self.report(
|
||||||
{"ERROR"},
|
{"ERROR"},
|
||||||
f"IFC join failed - object '{obj}' has a different representation type "
|
f"IFC join failed - object '{obj.name}' has a different representation type "
|
||||||
f"({obj_rep.RepresentationType}) than target '{self.target}' ({representation_type}).",
|
f"({obj_rep.RepresentationType})\nthan target '{self.target.name}' ({representation_type}).",
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user