You can now duplicate or linked duplicate objects in IFC. Neat. See #1222.

This commit is contained in:
Dion Moult
2021-01-27 19:00:35 +11:00
parent c472dc2f1b
commit a37e124d8f
6 changed files with 83 additions and 9 deletions
@@ -34,6 +34,7 @@ class BIM_PT_class(Panel):
name += "[{}]".format(data["PredefinedType"])
row = self.layout.row(align=True)
row.label(text=name)
row.operator("bim.copy_class", icon="DUPLICATE", text="").obj = context.active_object.name
row.operator("bim.unlink_object", icon="UNLINKED", text="").obj = context.active_object.name
row.operator("bim.enable_reassign_class", icon="GREASEPENCIL", text="")
row.operator("bim.unassign_class", icon="X", text="").obj = context.active_object.name