From 94427ebcb30ae5dacdcda9454aa5dc79cdfd5c35 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 14 Jan 2026 13:59:26 +0100 Subject: [PATCH] Allow setting of history and future --- src/ifcopenshell-python/ifcopenshell/file.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ifcopenshell-python/ifcopenshell/file.py b/src/ifcopenshell-python/ifcopenshell/file.py index 35c3697b51..ba1658d188 100644 --- a/src/ifcopenshell-python/ifcopenshell/file.py +++ b/src/ifcopenshell-python/ifcopenshell/file.py @@ -528,6 +528,14 @@ class file_mixin: def transaction(self): return self.state[2] + @history.setter + def history(self, v): + self.state[0] = v + + @future.setter + def future(self, v): + self.state[1] = v + @transaction.setter def transaction(self, v): self.state[2] = v