From 24e807cac72dd9aed1dbca754d9a909dd9b2cdb3 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Thu, 4 Apr 2024 18:28:10 +1100 Subject: [PATCH] Detect binary data types in util.attribute --- src/ifcopenshell-python/ifcopenshell/util/attribute.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ifcopenshell-python/ifcopenshell/util/attribute.py b/src/ifcopenshell-python/ifcopenshell/util/attribute.py index 3dd99df0fe..b52fea7e3f 100644 --- a/src/ifcopenshell-python/ifcopenshell/util/attribute.py +++ b/src/ifcopenshell-python/ifcopenshell/util/attribute.py @@ -26,6 +26,8 @@ def get_primitive_type(attribute_or_data_type): return get_primitive_type(data_type[data_type[1:].find("<") + 1 :]) elif data_type.find("