Importing IFC properties from an Excel file and assigning them to an entity or group of entities. Here are a series of useful tools and an example file ready to use
Are you dealing with having to import IFC properties from an Excel file in order to assign them to your 3D model?
In this focus article I’ll show you how you can assign custom properties or standard properties to your IFC objects through some easy to read illustrations and an example file that is ready for you to download.
In the sample file you’ll notice that I have already assigned the properties to my project entities (
PropertySet) as defined by building SMART.
I’ll also provide you Excel templates with all the standard properties of the following entities:
- wall (
IfcWall) – download the Excel template with wall properties (IfcWall-PropertySet)
- floor slab (
IfcSlab) – download the Excel template with floor slab properties (IfcSlab-PropertySet)
- door (
IfcDoor) – download Excel the template with door properties (IfcDoor-PropertySet)
- window (
IfcWindow) – download the Excel template with window properties (IfcWindow-PropertySet).
Take advantage of usBIM.viewer+ , so as to have all the tools that you need to import a template from Excel with IFC properties and assign the properties to your project entities. Further on this article, you’ll find a step-by-step guide that shows this very straight-forward process.
How to create a template in Excel
As a first step, you need to create a property template in Excel.
You can either follow the buildingSMART standards or create custom properties. In both cases you need to open a new Excel workbook (Excel file) and set up a table with four columns containing:
- Pset Name, where you can enter the name of the object (eg:
- Property Name, where you can enter the property name (es:
- Property IFC Type, where you can enter the type of value to be used (eg:
- Property Default Value, where you can enter the property values.
Here you can find one of our templates ready to use and make the necessary changes in the Excel file to customize the properties to be assigned your project entities.
In this template, I followed the buildingSMART instructions to create the example of a wall entity. As you can see from the image below, I’ve also added a custom property that I have identified as New Property.
How to import a template from Excel
If you’ve created your property template in Excel and want to assign it to your IFC template, follow these simple steps:
- download usBIM.viewer+ and install it for free
- create your custom template or use one of the Excel files that I make available for you
- open your IFC model with usBIM.viewer+
- click on Edit
- select the entity to assign to the new properties
- from the tool bar, click on Template in the Properties section
- click on the folder icon in the Properties to add
- select the Excel file to import
- in the entity filter, select the entities to which assigning properties
- select one of the two options proposed to confirm the operation.
If you have correctly followed all the steps, you can now verify that your template has been assigned to the selected entities, by choosing the reference entity and reading its values in the properties toolbox.
Take a look at the new properties in the IFC file that is ready for you to download.
How to assign the template to a group of entities
Let’s now take a closer look at how to assign custom properties also to a group of entities. All you need to do is the following:
- open your IFC model with usBIM.viewer+
- click on Edit>Groups
- click the + symbol from the dialog, type the group name>confirm
- select the entities that you want to group and add them to the newly created group by clicking on the + symbol
- click on Edit properties
- from the pop-up dialog, click on the folder symbol and choose the template file
- click on Confirm>Apply.
On the tool box on the left-hand side you’ll see the group that you’ve created (IfcGroup) while on the right-hand side toolbox the properties that you’ve imported with the template.
In brief, by following these simple steps you have:
- created an IFC property template with Excel
- assigned your template to a project entity with usBIM.viewer+
- created a group of entities
- assigned your template to the entity group that you’ve created.
Software download and sample files
Here are some useful tools to create a property template with Excel and assign it to your project entities: