Drop use of removed entity_instance.wrapped_data

This commit is contained in:
Andrej730
2026-07-22 14:43:38 +05:00
parent 9286bcd7ec
commit c4e411c735
12 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -652,7 +652,7 @@ class DecoratorData:
try:
matrix = ifcopenshell.util.placement.get_local_placement(element.ObjectPlacement)
if matrix is not None:
ifc_file = element.wrapped_data.file
ifc_file = element.file
project = ifc_file.by_type("IfcProject")[0] if ifc_file.by_type("IfcProject") else None
if project: