mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
Drop use of removed entity_instance.wrapped_data
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user