diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py index d8869ec8ee..0c0d207db8 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py @@ -30,8 +30,9 @@ def usedin(inst, ref_name): class express_set(set): - def __rmul__(self, other): + def __mul__(self, other): return express_set(set(other) & self) + __rmul__ = __mul__ def __add__(self, other): def make_list(v): # Comply with 12.6.3 Union operator diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py index 98dbb94658..0a5cbdf988 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py @@ -30,8 +30,9 @@ def usedin(inst, ref_name): class express_set(set): - def __rmul__(self, other): + def __mul__(self, other): return express_set(set(other) & self) + __rmul__ = __mul__ def __add__(self, other): def make_list(v): # Comply with 12.6.3 Union operator diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py index d48221a2f3..a672ae0437 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py @@ -30,8 +30,9 @@ def usedin(inst, ref_name): class express_set(set): - def __rmul__(self, other): + def __mul__(self, other): return express_set(set(other) & self) + __rmul__ = __mul__ def __add__(self, other): def make_list(v): # Comply with 12.6.3 Union operator diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py index 7b77367e77..aedd15a4e4 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py @@ -30,8 +30,9 @@ def usedin(inst, ref_name): class express_set(set): - def __rmul__(self, other): + def __mul__(self, other): return express_set(set(other) & self) + __rmul__ = __mul__ def __add__(self, other): def make_list(v): # Comply with 12.6.3 Union operator diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py index dcf49af269..ab998e2e18 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py @@ -30,8 +30,9 @@ def usedin(inst, ref_name): class express_set(set): - def __rmul__(self, other): + def __mul__(self, other): return express_set(set(other) & self) + __rmul__ = __mul__ def __add__(self, other): def make_list(v): # Comply with 12.6.3 Union operator diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py index f627f37ff4..99e99daf2e 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py @@ -30,8 +30,9 @@ def usedin(inst, ref_name): class express_set(set): - def __rmul__(self, other): + def __mul__(self, other): return express_set(set(other) & self) + __rmul__ = __mul__ def __add__(self, other): def make_list(v): # Comply with 12.6.3 Union operator diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py index 79ac6b3d51..d2b5f14c50 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py @@ -30,8 +30,9 @@ def usedin(inst, ref_name): class express_set(set): - def __rmul__(self, other): + def __mul__(self, other): return express_set(set(other) & self) + __rmul__ = __mul__ def __add__(self, other): def make_list(v): # Comply with 12.6.3 Union operator diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py index b4a23d9af3..ac490428bf 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py @@ -30,8 +30,9 @@ def usedin(inst, ref_name): class express_set(set): - def __rmul__(self, other): + def __mul__(self, other): return express_set(set(other) & self) + __rmul__ = __mul__ def __add__(self, other): def make_list(v): # Comply with 12.6.3 Union operator diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py index b68a9c737c..1f85e02bce 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py @@ -30,8 +30,9 @@ def usedin(inst, ref_name): class express_set(set): - def __rmul__(self, other): + def __mul__(self, other): return express_set(set(other) & self) + __rmul__ = __mul__ def __add__(self, other): def make_list(v): # Comply with 12.6.3 Union operator diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py index 1782d84181..6e111ecf2d 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py @@ -30,8 +30,9 @@ def usedin(inst, ref_name): class express_set(set): - def __rmul__(self, other): + def __mul__(self, other): return express_set(set(other) & self) + __rmul__ = __mul__ def __add__(self, other): def make_list(v): # Comply with 12.6.3 Union operator diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py index fe5642a755..239d64fe39 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py @@ -30,8 +30,9 @@ def usedin(inst, ref_name): class express_set(set): - def __rmul__(self, other): + def __mul__(self, other): return express_set(set(other) & self) + __rmul__ = __mul__ def __add__(self, other): def make_list(v): # Comply with 12.6.3 Union operator