IFC exchange file (STEP physical file) shall have a HEADER section as specified in ISO 10303 part 21, and following the agreements documented in Implementation Guide for IFC Header Section, Version 1.0.2
The project data being exchanged follows the HEADER section in DATA section of the IFC-file. The structure and the content of DATA section in Inframodel-exchange is specified in the following chapters of this document.
ISO-10303-21;
HEADER;
FILE_DESCRIPTION(('ViewDefinition [Ifc4x3NotAssigned]','Comment [Example IFC file for Inframodel MVD]),'2;1');
FILE_NAME('IM-IFC_example.ifc','2020-12-18T08:58:25',('Juha'),('JHy'),'IFC text editor','IFC text editor','');
FILE_SCHEMA(('IFC4X3_RC3'));
ENDSEC;
DATA;
#1 =(); ...
ENDSEC;
END-ISO-10303-21;
Alternatively, XML-encoding (ifcXML) may be used in IFC exchange. In this case, HEADER data is contained in the attributes of the root-element (<ifcXML>) and in <ifcXML> -element.
The project data being exchanged follows the <ifcXML> -element in <ifcProject> -element.
<?xml version="1.0" encoding="utf-8"?>
<ifc:ifcXML xsi:schemaLocation="https://standards.buildingsmart.org/IFC/DEV/IFC4_3/RC3 https://standards.buildingsmart.org/IFC/DEV/IFC4_3/RC3/XML/IFC4x3_RC3.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ifc="https://standards.buildingsmart.org/IFC/DEV/IFC4_3/RC3" xmlns="https://standards.buildingsmart.org/IFC/DEV/IFC4_3/RC3">
<header>
<name>IM-IFC_example.ifcxml</name>
<time_stamp>2020-12-18T08:58:25</time_stamp>
<author>Juha</author>
<organization>JHy</organization>
<preprocessor_version>ifcXML text editor</preprocessor_version>
<originating_system>IFC text editor</originating_system>
<authorization />
<documentation>ViewDefinition [Ifc4X3NotAssigned] Comment [Example ifcXML file for Inframodel MVD]</documentation>
</header>
<ifcProject ...>
</ifcProject>
</ifc:ifcXML>