GEM004 Constraints on representation identifiers - v3

001 | @informal-proposition
002 | @GEM
003 | @version3
004 |
005 | Feature: GEM004 - Constraints on representation identifiers
006 | The rule verifies that shape representations adhere to the permissible values outlined in the CSV files found in the 'features/resources/{attribute}.csv' folder, as specified in the documentation.
007 |
008 |   Scenario: Shape Representation Identifier must be valid
009 |
010 |     Given An .IfcProduct.
011 |     Given Its attribute .Representation.
012 |     Given Its attribute .Representations.
013 |     Given Its attribute .RepresentationIdentifier.
014 |
015 |     Then The values must be in 'valid_ShapeRepresentationIdentifier.csv'
016 |
017 |
018 |   Scenario: Shape Representation Type must be valid
019 |
020 |     Given An .IfcProduct.
021 |     Given Its attribute .Representation.
022 |     Given Its attribute .Representations.
023 |     Given [Its entity type] ^is^ 'IfcShapeRepresentation'
024 |     Given Its attribute .RepresentationType.
025 |
026 |     Then The values must be in 'valid_ShapeRepresentationType.csv'
027 |
028 |
029 |   Scenario: Topology Representation Type must be valid
030 |
031 |       Given An .IfcProduct.
032 |       Given Its attribute .Representation.
033 |       Given Its attribute .Representations.
034 |       Given [Its entity type] ^is^ 'IfcTopologyRepresentation'
035 |       Given Its attribute .RepresentationType.
036 |
037 |       Then The values must be in 'valid_TopologyRepresentationType.csv'

Version history

Version

Tag

Date

Commit

Rule link

v1

v0.6.6

2023-02-02

e7b6c017

view

v2

v0.6.6

2024-04-18

be4d7373

view

v3

v0.6.8

2024-10-31

ef196247

view