SPS001 Basic spatial structure for buildings - v2

001 | @implementer-agreement
002 | @SPS
003 | @version2
004 | Feature: SPS001 - Basic spatial structure for buildings
005 | The rule verifies that there's maximum one instance of IfcSite and at least one instance of IfcBuilding as part of the spatial structure.
006 |
007 |   Background:
008 |     Given A file with Model View Definition 'CoordinationView_V2.0'
009 |     Given A file with Schema 'IFC2X3'
010 |
011 |
012 |   Scenario: Agreement141 - Agreement on having maximum of one instance of IfcSite
013 |
014 |     Then There must be at most 1 instance(s) of .IfcSite.
015 |
016 |   Scenario: Agreement142(1) - Agreement on having at least one instance of IfcBuilding as part of the spatial structure
017 |
018 |     Then There must be at least 1 instance(s) of .IfcBuilding.
019 |
020 |   Scenario: Agreement142(2) - Agreement on having at least one instance of IfcBuilding as part of the spatial structure
021 |
022 |     Given An .IfcSite.
023 |     Given an .IfcBuilding.
024 |     Then It must be assigned to the .IfcSite.
025 |
026 |
027 |   Scenario: Agreement142(3) - Agreement on having at least one instance of IfcBuilding as part of the spatial structure
028 |
029 |   Given no .IfcSite.
030 |   Given An .IfcBuilding.
031 |
032 |   Then It must be assigned to the .IfcProject.

Version history

Version

Tag

Date

Commit

Rule link

v1

v0.6.6

2022-07-31

a6aeaec4

view

v2

v0.7.6

2025-05-06

0160e607

view