IFC105 Resource entities need to be referenced by rooted entity - v3

001 | @IFC
002 | @version3
003 | @implementer-agreement
004 | Feature: IFC105 - Resource entities need to be referenced by rooted entity
005 |
006 | The rule verifies that resource entities are directly or indirectly related to at least one rooted entity instance by means of forward or a small curated set of inverse attributes.
007 | Resource entities are the schema classes that do not inherit from IfcRoot, typically defined in the resource layer of the schema (e.g Geometry Resource).
008 | The inverse attributes that are followed are: StyledByItem HasCoordinateOperation LayerAssignments LayerAssignment HasSubContexts HasProperties (material and profile def) HasRepresentation (material) HasColours HasTextures (tessellated face sets)
009 |
010 |   Scenario: Resource entities need to be referenced by rooted entity
011 |
012 |     Given a traversal over the full model originating from subtypes of .IfcRoot.
013 |     Given an .entity instance.
014 |     Given [its entity type] ^is not^ 'IfcRoot' ^including subtypes^
015 |     Then it must be referenced by an entity instance inheriting from IfcRoot directly or indirectly

Version history

Version

Tag

Date

Commit

Rule link

v1

v0.6.11

2024-12-19

71690ecb

view

v1

v0.6.11

2024-12-20

e9205d7e

view

v2

v0.7.0

2025-02-15

a96f1891

view

v3

v0.7.1

2025-03-04

79d0fe87

view