Data type mismatch in applicability bypasses checking #337
Labels
agreed
audit tool
documentation
Improvements or additions to documentation
please contribute
A PR is welcome for this issue. Please target the `development` branch.
Milestone
Consider an example where you want to check all elements with a property XYZ of value ABC (the requirement is not relevant here).
Because we ask for a precise value, we need to specify the data type, which, in my case, is IFCLABEL. If a model has property XYZ with value ABC but captured as IFCTEXT instead, it is simply omitted. Not good.
I'm attaching an IDS file with IFCLABEL and IFC model with a beam with IFCTEXT: Data_type_experiment.zip. I tried checking one against the other in usBIM and IfcTester, and both didn't report any errors, but also no passed element. It means they didn't consider that beam as an applicable object, giving a false positive result.
The solutions I see:
In the long run, I hope the IFC is purged of overlapping data types like these...
A temporary workaround for IDS1.0 is to add a specification for each other's data type and forbid it. In the case above, saying that IFCTEXT is forbidden for XYZ property. I attach that one as well.
The text was updated successfully, but these errors were encountered: