Comparing two different values
-
Hi everyone,
I would be more than thankful, if someone could help me with one rule, that I don’t seem to figure out.
I want to check it an attribute IfcBuildingStorey corresponds to another attribute in a CustomPset of the IfcBuildingStorey. The case is that we have the name of the IfcBuildingStorey = 1.Obergeschoss and the CustomPset of the IfcBuildingStorey should be OG1. This applies then for all stories
2.Obergeschoss = OG2
3.Obergeschoss = OG3
4.Obergeschoss = OG4
etc…
I have tried on using SOL/231/1.6, but did not bring any good results. Since probably I would need a list of the above definitions, I have tried also setting up a classification, but could figure out which rule could check that.
Any ideas??? -
Hi @agroni
Create a classification that maps the floor name to the value of that PSET:

Then use 231 to check the value of that classification matches the PSET value for the floors something similar to this:

I tested it and it worked mapping the Floor number to the Floor name where I purposely made if fail on having “Roof” not be named “Third floor” with the sample model.

Here is the SMC: Solibri Building - Comparison Between Properties.smc
Copyright © 2025 Solibri Inc. | Powered by NodeBB