mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
fix bug in d6e69bd6e
This commit is contained in:
@@ -294,7 +294,7 @@ class RemoveClassificationReference(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
active_reference = tool.Ifc.get().by_id(self.reference)
|
active_reference = tool.Ifc.get().by_id(self.reference)
|
||||||
identification = active_reference[1]
|
identification = active_reference[1]
|
||||||
|
|
||||||
elements_by_references: dict[ifcopenshell.entity_instance, list[ifcopenshell.entity_instance]] = []
|
elements_by_references: dict[ifcopenshell.entity_instance, list[ifcopenshell.entity_instance]] = {}
|
||||||
for obj in objects:
|
for obj in objects:
|
||||||
ifc_definition_id = tool.Blender.get_obj_ifc_definition_id(obj, self.obj_type, context)
|
ifc_definition_id = tool.Blender.get_obj_ifc_definition_id(obj, self.obj_type, context)
|
||||||
element = tool.Ifc.get().by_id(ifc_definition_id)
|
element = tool.Ifc.get().by_id(ifc_definition_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user