diff --git a/src/ifcopenshell-python/ifcopenshell/api/unit/assign_unit.py b/src/ifcopenshell-python/ifcopenshell/api/unit/assign_unit.py index 1fcad6e839..632167d2e8 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/unit/assign_unit.py +++ b/src/ifcopenshell-python/ifcopenshell/api/unit/assign_unit.py @@ -60,7 +60,7 @@ class Usecase: """ self.file = file self.settings = { - "units": None, + "units": units, "length": {"is_metric": True, "raw": "MILLIMETERS"}, "area": {"is_metric": True, "raw": "METERS"}, "volume": {"is_metric": True, "raw": "METERS"},