You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this test case is meant to be checking whether an attached classification without an actual value passes an optional classification requirement. However the checked object (IfcWall) does not have a linked classification at all (and should fail I think). Could it be that it is actually the IfcProject entity that should be checked instead of the IfcWall entity?
Activity
atomczak commentedon Jun 11, 2025
I think the problem lies elsewhere.
The IFC file IfcClassification is missing the required 'Name' attribute (4th):
IDS/Documentation/ImplementersDocumentation/TestCases/classification/pass-an_optional_classification_value_passes_if_null.ifc
Line 9 in 35f8c16
Lack of Name causes it to pass because the pattern "\w+" misses the name check.
IDS/Documentation/ImplementersDocumentation/TestCases/classification/pass-an_optional_classification_value_passes_if_null.ids
Line 23 in 35f8c16
In the case of an optional classification facet with value and system, the specification passes if the system does not appear in the IFC object, which is the case in the provided file. See the interpretation table that we decided to add:
https://github.com/buildingSMART/IDS/blob/e1b39e0957abe8ec8cfc4ccb622e254622103d57/Documentation/UserManual/classification-facet.md#requirements