You don't say what version of Archicad you are using.
You should add this together with your Operating System and machine specs, to your user profile signature - link is at the top of this page.
In version 23 there is a new expression function ...
IFS ( LogicalCondition1, Value1, [LogicalCondition2, Value2], ... )
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11