Export to IFC

For general export settings please read the hsbExporter document first.

NOTE: be aware that IFC export will not export 3D solids or any other AutoCad entities in your drawing. To export your complete hsbcad and AutoCad drawing use the hsb_IFCexport command.

Before you start exporting don’t forget to number all your entities, see the Add numbering article for more information.

Next is to open the exporter. This can be done through the menu or the ribbon. Select the option hsbCAM\Element export\Cnc Exporter in the menu.

Starting the exporter via the menu

Or select CNC Export in the ribbon.

Starting the exporter via the ribbon
  • This will open the CNC Exporter dialog box.
  • Select all Entities in drawing option to export.
  • Select the Start generator in config mode (config mode means that the Export manager will open, in the Export Manager you can set all your settings and create a group).
  • The destination location (default is will be stored in the folder where the drawing is situated)

Do not check the clear output location unless you are certain. Because this will remove all other files in the export location (normally your drawing location) when the export is run.

Create IFC export

In the next dialog box you need to give in:

  • Name: The name of the export
  • Description: The description for this export
  • Export: The type of export, in this case IFC
  • Catalog: Default it says Last Used. This needs to be changed and a new catalog needs to be created. To do this click the Export settings tab.

It is important to create a new catalogue for new exports. If not the last used catalogue will be used which can result in errors while your last used catalogue could be a completely different export type.

Creating the IFC export

Settings tab

In the Export Settings tab you can find all kinds of information on the export.

First thing to do when you are creating a new export is to click New.. at the top at Settings to create a new catalogue for your new export.

Element Settings

Element settings tab
ElementFloor SettingsThis group handles all Floor Elements
ElementFloorSip SettingsThis group handles all Sip Floor Elements
ElementRoof SettingsThis group handles all Roof Elements
ElementRoofSip SettingsThis group handles all Sip Roof Elements
ElementWallSF SettingsThis group handles all Wall Elements
ElementWallSip SettingsThis group handles all Sip Wall Elements
OpeningSF SettingsThis group handles all Openings
OpeningSip SettingsThis group handles all Sip Openings

Sub Element Settings

Sub element settings
Colour FormatHere you can specify a colour for the object
Colour Override If you set the override to true, the colour specified in the colour format will be used. If it is set to false the original colour will be used
Description FormatThis will set the description of an entity in the ifc
IFC Object NameIn the dropdown you can select the ifc entity as which hsbbeams are exported
IncludeSelect the type to be included
Layer Format
Material FormatHere you can specify the material
Name FormatHere you can specify the name. See the next table for information about possible naming

For formatting different variables are available. These variables can be used by using formatting e.g. @(ElementNumber). For more information about formatting see the article https://hsbcad.academy/hsbacademy/hsbexporter/#data-formatting-in-the-exporter

@(Variablename)Description
ElementNumberThe number of the element.
ElementTypeThe type or code of the element.
ElementLengthThe length of the element calculated using the bounds of the GenBeams in the element rounded to zero decimal places.
ElementHeightThe height (dimension in the elements Y direction) of the element calculated using the bounds of the GenBeams in the element rounded to zero decimal places.
ElementCodeThe Code of the Element
SubTypeThe SubType of the Element
InformationThe Information of the Element
QuantityThe Quantity of the Element
DefinitionThe Definition of the Element
ProfNettoAreaSpecifies the Netto area of the wall profile
ProfBruttoAreaSpecifies the Bruto area of the wall profile

Entity settings

These are the settings for objects (Beams, Sheets, Sips, Tsl’s etc.).

Entitiy settings

For each entity you can set the same settings as the Sub Element settings above.

On Entity level though you have different variables/ properties available to use in formatting. Below you can find properties available for formatting. For more information about formatting see the article https://hsbcad.academy/hsbacademy/hsbexporter/#data-formatting-in-the-exporter

@(Variablename)Description
LengthThe Length property of the entity
WidthThe Width property of the entity
HeightThe Height property of the entity
SolidLengthThe actual analyzed Length of the entity
SolidWidthThe actual analyzed Width of the entity
SolidHeightThe actual analyzed Height of the entity
TypeThe Type property of the entity
InformationThe Information property of the entity
MaterialThe Material property of the entity
LabelThe Label property of the entity
SubLabelThe SubLabel property of the entity
SubLabel2The SubLabel2 property of the entity
NameThe Name property of the entity
GradeThe Grade property of the entity
BeamCodeThe BeamCode property of the entity
PosNumThe PosNum property of the entity

General

Here you can set general settings for your IFC export.

Company name FormatThis will set the Ifc Organization in the Ifc file.
GroupingThe way in which the entities will be grouped
Include MapX DataExport MapX Data as Property Set
Name FormatThis will set the name of the ifc file
Output Path FormatName of output file
Username FormatThis will set the Ifc Person in the Ifc file

Below you can find properties available for formatting in the general section. For more information about formatting see the article https://hsbcad.academy/hsbacademy/hsbexporter/#data-formatting-in-the-exporter

@(Variablename)Description
ProjectNumberThe number of the project as defined in the project setttings and ProjectInfo class
ProjectNameThe name of the project as defined in the project setttings and ProjectInfo class
ProjectDirThe project directory
ProjectCommentThe comment as defined in the project settings
ProjectCityThe city as defined in the project settings
ProjectDwgNameThe name of thw dwg file
ProjectRevisionThe revision as defined in the project settings
ProjectStreetThe street as defined in the project settings
ProjectUserThe user as defined in the project settings
ProjectCompanyThe company path in the project settings
ProjectWallDetailPathThe wall detail path in the project settings
ProjectFloorDetailPathThe floor detail path in the project settings
ProjectDirNameThe name of the folder where the source drawing file is located

Spatial Settings

Here you can set hierarchical level objects (IfcProject, IfcSite, IfcBuilding, IfcBuildingStorey). Spatial Settings has 4 subgroups, generally an ifc file has a spatial Hierarchy from high to low:

Building SettingIfcBuilding
Project nameIfcProject
Site SettingsIfcSite
Storey SettingsIfcBuildingStorey

Updated on 07/05/2021

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support