Add notes on Tekla accommodations (7c3870595)

This commit is contained in:
Andrej730
2025-05-13 13:31:09 +05:00
parent 6a91bbb720
commit 3d225beafd
2 changed files with 2 additions and 0 deletions
@@ -294,6 +294,7 @@ def resolve_representation(representation: ifcopenshell.entity_instance) -> ifco
:param representation: IfcRepresentation
:return: Representation resolved from mappings
"""
# Tekla 2023 has missing items and mapped representation, though it's invalid IFC.
if (
len(representation.Items or []) == 1
and representation.Items[0].is_a("IfcMappedItem")