mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Add notes on Tekla accommodations (7c3870595)
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user