From 1ad2c62a22f6ccb2ccc6bb1a2ad5b8b5e8abab12 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Mon, 4 Aug 2025 08:52:02 +0200 Subject: [PATCH] add_qto.py: MethodOfMeasurement=BaseQuantities to comply with spec text --- src/ifcopenshell-python/ifcopenshell/api/pset/add_qto.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifcopenshell-python/ifcopenshell/api/pset/add_qto.py b/src/ifcopenshell-python/ifcopenshell/api/pset/add_qto.py index fa15cb8529..695ca21dd8 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/pset/add_qto.py +++ b/src/ifcopenshell-python/ifcopenshell/api/pset/add_qto.py @@ -123,4 +123,5 @@ class Usecase: GlobalId=ifcopenshell.guid.new(), OwnerHistory=ifcopenshell.api.owner.create_owner_history(self.file), Name=self.settings["name"], + MethodOfMeasurement="BaseQuantities" if self.settings["name"].endswith("BaseQuantities") else None, )