This is the first part of a two parts post summarizing all the features I wish I knew about before I started exporting IFC from Revit.
I am working a lot with IFC these days and retrieving the proper values from various authoring software can be a challenge. To check if my IFC requirement are even possible, I have to understand the possibilities offered by theses authoring software. So, I spend quite some time understanding the IFC Exporter for Revit.
IFC for Revit plugin
If you rely on IFC for your process, you must start by downloading the last version of the IFC for Revit plugin. This plugin seamlessly replaces the built-in IFC module of Revit and bring improvement to the standard IFC import and export. Its source is available on Source Forge and you can even propose your own improvement.
This plugin is available on the Autodesk App Exchange:
New releases of Revit are now shipped with the last available version of this IFC plugin.
Selecting which levels to export
Deactivating the « Building Story » parameter on a Revit level remove the corresponding IFCBuildingStorey from the exported IFC file. Elements based on this level are associated with the IfcBuildingStorey immediately below.
This feature allows you to use Revit levels as modelling supports, while keeping all your elements neatly organized in functional building stories after the export. Furthermore, Revit levels without any element on it are not exported.
Exporting Revit property
Since my last post, the IFC Exporter has made some progress, and new options are available.
Exporting all Revit properties
Activating the « Export Revit properties » in the Exporter UI send all Revit properties to custom Property Sets named after the parameter group in Revit.
Creating your own property sets
With a user-created configuration text file, you can create your own Property Sets and fill them with parameters from Revit. In this configuration file, a first line describes the Property Set: its name, whether it will be associated with Instances (I) or Types (T) and the list of elements for which to create the custom Property Set. The following lines lists all the properties of the Property Set, their names, types and the associated Revit parameters.
Below is an example of the configuration file used to export the Creation and Demolition phase of every wall and roof in a new Property Set named “Phases”
This configuration file is loaded in the “Export user defined property sets” field in the Exporter UI:
Mapping parameters
The mapping text file allows you to send Revit values to any IFC parameter. Each line in this file link a Revit parameter to an IFC one. However, you can only use “official” IFC Parameter, contained in one of the Property Sets defined in the specification. Furthermore, the data type of the IFC property must be the same than the Revit parameter. If you need something different than these parameters, you will have to create your own property sets.
Below is an example of the mapping file used to export the Analytic Construction value of every doors to their Reference value in IFC:
This mapping file is then loaded in the “Export user defined property sets” field in the Exporter UI:
IfcZones
IfcZones are groups of IfcSpaces used to define areas in a building. To create these IfcZones in Revit, two methods are available, one for MEP Spaces and the other for Rooms.
Grouping MEP Spaces with HVAC Zones will create IfcZones in the exported IFC. You can also export the parameters of these HVAC Zones to the PSet_ZoneCommon property set, or any other new property set.
To create IfcZones from a group of Rooms, you must create a “ZoneName” parameter on these room. Revit will create an IfcZone for every unique “ZoneName” value and assign the room to the corresponding IfcZone. You can also use the “ZoneObjectType” and the “ZoneDescription” parameters to add properties to the resulting IfcZone. More details can be found here.
Here, you can see the description of the zone, however, the PSet_ZoneCommon is not created.
We also note that even if HVAC Space and Room are both exported to IfcSpace, the exporter add their original category in the Description field in IFC.
In the upcomming second part of this post, we will explore how to add classifications, IfcZones and QuantitySets to your IFC file. Stay tunned !