Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<ids xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/1.0/ids.xsd" xmlns="http://standards.buildingsmart.org/IDS">
<info>
<title>In IFC2X3 an entity name resolves via the type mapping table 2/2</title>
<description>Generated via code automation in the Ids Repository on github.</description>
</info>
<specifications>
<specification name="In IFC2X3 an entity name resolves via the type mapping table 2/2" ifcVersion="IFC2X3">
<applicability maxOccurs="unbounded">
<entity>
<name>
<simpleValue>IFCFLOWTERMINAL</simpleValue>
</name>
</entity>
</applicability>
<requirements>
<entity>
<name>
<simpleValue>IFCAIRTERMINAL</simpleValue>
</name>
</entity>
</requirements>
</specification>
</specifications>
</ids>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ISO-10303-21;
HEADER;
FILE_DESCRIPTION(('ViewDefinition [CoordinationView]'),'2;1');
FILE_NAME('','2026-08-06T11:45:14',(''),(''),'IfcOpenShell 0.8.5-1c5b825','IfcOpenShell 0.8.5-1c5b825','');
FILE_SCHEMA(('IFC2X3'));
ENDSEC;
DATA;
#1=IFCFLOWTERMINAL('10gxdJeWr2ww3Zq_ToPC9T',$,$,$,$,$,$,$);
#2=IFCELECTRICAPPLIANCETYPE('0qZf4B1Uj6Guf8xSiv33y_',$,$,$,$,$,$,$,$,$);
#3=IFCRELDEFINESBYTYPE('3fLFTzUYz3DxtWu1PO9GzS',$,$,$,(#1),#2);
ENDSEC;
END-ISO-10303-21;
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<ids xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/1.0/ids.xsd" xmlns="http://standards.buildingsmart.org/IDS">
<info>
<title>In IFC2X3 an entity name resolves via the type mapping table 1/2</title>
<description>Generated via code automation in the Ids Repository on github.</description>
</info>
<specifications>
<specification name="In IFC2X3 an entity name resolves via the type mapping table 1/2" ifcVersion="IFC2X3">
<applicability maxOccurs="unbounded">
<entity>
<name>
<simpleValue>IFCFLOWTERMINAL</simpleValue>
</name>
</entity>
</applicability>
<requirements>
<entity>
<name>
<simpleValue>IFCAIRTERMINAL</simpleValue>
</name>
</entity>
</requirements>
</specification>
</specifications>
</ids>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ISO-10303-21;
HEADER;
FILE_DESCRIPTION(('ViewDefinition [CoordinationView]'),'2;1');
FILE_NAME('','2026-08-06T11:45:05',(''),(''),'IfcOpenShell 0.8.5-1c5b825','IfcOpenShell 0.8.5-1c5b825','');
FILE_SCHEMA(('IFC2X3'));
ENDSEC;
DATA;
#1=IFCFLOWTERMINAL('0e2DNPIaj26RuQ161RxEHD',$,$,$,$,$,$,$);
#2=IFCAIRTERMINALTYPE('0EgXPTnD904BWuHp$QbGkL',$,$,$,$,$,$,$,$,$);
#3=IFCRELDEFINESBYTYPE('23ku2hyMP9zAK1nmSZW8n_',$,$,$,(#1),#2);
ENDSEC;
END-ISO-10303-21;
30 changes: 30 additions & 0 deletions Documentation/ImplementersDocumentation/TestCases/scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,36 @@ Requirements:
Entity: ''IfcWall''
```

### In IFC2X3 an entity name resolves via the type mapping table 1/2

The [IFC2X3 occurrence and type mapping table](../ifc2x3-occurrence-type-mapping-table.md)
lets an IFC2X3 model be checked with the IFC4 entity name `IfcAirTerminal`
even though that class does not exist in IFC2X3. Applicability matches the
real IFC2X3 occurrence class `IfcFlowTerminal`, and the requirement checks
that it is typed by `IfcAirTerminalType`.

``` ids entity/pass-in_ifc2x3_an_entity_name_resolves_via_the_type_mapping_table_1_2.ids
In IFC2X3 an entity name resolves via the type mapping table 1/2
IFC2X3
Entity: ''IFCFLOWTERMINAL''
Comment thread
andyward marked this conversation as resolved.
Outdated
Requirements:
Entity: ''IFCAIRTERMINAL''
```

### In IFC2X3 an entity name resolves via the type mapping table 2/2

Same specification as the case above, run against an `IfcFlowTerminal`
typed by `IfcElectricApplianceType` instead, so a false pass could not be
mistaken for a correctly-checked type mismatch.

``` ids entity/fail-in_ifc2x3_an_entity_name_resolves_via_the_type_mapping_table_2_2.ids
In IFC2X3 an entity name resolves via the type mapping table 2/2
IFC2X3
Entity: ''IFCFLOWTERMINAL''
Comment thread
andyward marked this conversation as resolved.
Outdated
Requirements:
Entity: ''IFCAIRTERMINAL''
```

### Inherited predefined types should pass

``` ids entity/pass-inherited_predefined_types_should_pass.ids
Expand Down
Loading