IFC106 Resource entities should be referenced by rooted entity - v1

001 | @IFC
002 | @version1
003 | @industry-practice
004 | Feature: IFC106 - Resource entities should 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:
009 | StyledByItem HasCoordinateOperation LayerAssignments LayerAssignment HasSubContexts
010 | HasProperties (material and profile def) HasRepresentation (material) HasColours HasTextures (tessellated face sets) HasShapeAspects (representation map and product definition shape)
011 | WellKnownText (coordinate reference system)
012 |
013 |   Scenario: Resource entities need to be referenced by rooted entity
014 |
015 |     Given a traversal over the full model originating from subtypes of .IfcRoot.
016 |     Given an .entity instance.
017 |     Given [its entity type] ^is not^ 'IfcRoot' ^including subtypes^
018 |     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

n/a

v1

v0.6.11

2024-12-20

e9205d7e

n/a

v2

v0.7.0

2025-02-15

a96f1891

n/a

v3

v0.7.1

2025-03-04

79d0fe87

n/a

v4

v1.0.0

2026-02-24

63abe619

n/a

v1

v1.0.1

2026-04-07

a4f2e84b

view