buildingSMART / ifc-gherkin-rules

MIT License
9 stars 18 forks source link

hotfix/ivs-8-hotfix aggregated relationship direction #211

Closed Ghesselink closed 3 months ago

Ghesselink commented 3 months ago

Hi Validation Team,

In WM_335_Beton_Test_Schema_konform.ifc there is a single aggregated Element, which is correctly placed in a spatial container.

Currently your validation wrongly flags

  • the element itself for being in an IfcRelContainedInSpatialStructure

  • all its parts for not being in an IfcRelContainedInSpatialStructure

Please fix this

Is due to using IsDecomposedBy instead of Decomposes and a wrong direction in the from/to relationship A relationship IfcRelAggregates from IfcElement to IfcElement and following that

The related testfile is also adjusted.