IFC import and export in BricsCAD
About IFC
The Industry Foundation Classes (IFC) data model is designed to describe building and construction industry information. IFC is a platform-neutral, open-format file type. IFC provides interoperability between different BIM software platforms.
BricsCAD® BIM supports IFC2x3 and IFC4 for Import and Export. The IFC2x3 and IFC4 property namespaces are merged into IFC namespace. Differences between the IFC schemas is dealt with in the background during IFC Import or Export. The IFC standard includes both parametric and non-parametric shapes, material definitions, metadata in the BIM file, and property sets (PSets).
When you export an IFC file from BricsCAD®, the properties are exported as IfcPropertySet. These property sets contain common IFC properties. User-defined property sets can also be exported.
- BricsCAD® BIM created IFC files can be used in different coordination workflows with many tools (for example, Solibri).
- Some software allow for editing only IFC files created with specific Authoring Tools, while actively blocking files created with other tools. Other uses of BricsCAD® BIM created IFC files on these software are possible (for example, viewing).
- When IFCEXPORTIDSPROPERTIESONLY system variable is On, only the IFC and custom properties of the active namespace (selected in the drop-down menu) specified in the imported ISD file are exported.
- BricsCAD® BIM also supports exporting files in RVT format (only for viewing).
Mechanical system layouts, structural models, and architectural models that are exported from different IFC compliant software applications can be imported into BricsCAD® BIM.
- IFC2x3 vs IFC4
- IFC4 is an advanced schema of IFC2x3. It is extended and overcomes certain limitations of IFC2x3. There are geometric and data improvements as well as new and changed Model View Definitions. Geometric improvements include more parametric support, more efficient handling of meshes and an improved way to add textures, lighting settings, etc. An increased number of property sets make the IFC data model more complete and more granular. For IFC4, the coordination view has been replaced by two official Model View Definitions: the IFC4 Reference View and the IFC4 Design Transfer View. Differences between the IFC schemas are dealt with in the background during IFC Import or export and the IFC2x3 and IFC4 property namespaces are merged into IFC namespace.
IFC import and export settings
The IFC Import and Export settings are set in the Settings dialog box:
Variable | Description |
---|---|
IfcImportSettingsConfig |
Specifies the name of the IFC import settings configuration file. |
IfcExportBaseQuantities |
Activates or deactivates exports derived from base quantities of BIM elements. If this setting is activated, calculated quantities (e.g. length, thickness, height) for each BIM element are exported to IFC. Note: Ply quantities are exported when both IFCEXPORTMULTIPLYELEMENTSASAGGREGATED and IFCEXPORTBASEQUANTITIES system variables are set to ON. For IFC4 Reference View file, next to the quantities for the wall as a whole, the ply quantities are exported as a sub set for each ply (as IfcPhysicalComplexQuantity).
|
IfcExportElementsOnOffAndFrozenLayers |
Activates or deactivates the export of BIM elements that are in Off and Frozen layers. By default, this setting is enabled. |
IfcExplodeExternalReferences |
Activates or deactivates exploded external references in IFC spatial structures. If this setting is activated, each external reference is divided into the elements (e.g. IfcSite or IfcBuilding) based on the project spatial structure. Important: Use the BIMCLASSIFY command to classify Xrefs as BIM XReferences prior to doing an export with this setting enabled. Otherwise, the result will be a block per Xref.
|
IfcTesselateBSplineCurvesAndSurfaces | Controls whether BSpline curves and surfaces are tessellated. |
IfcExportSweptSolidsAsBRep | Allows to export all extrusions, revolutions, swept 3D solids with clippings and subtractions using a boundary representation (BRep). |
IfcExportProfileCenterOfGravity |
Only for IFC2x3. Exporting the center of gravity may cause a wrong positioning of linear solids in certain IFC viewers. The center of gravity is never exported to IFC4 or higher. |
IfcExportValidateModel | Checks that an IFC model complies with schema rules during IFC export. Problems are reported in an export log next to IFC file. Warning: Validation takes extra time and can slow down the export of big IFC files.
Off (0): Does not apply IFC model validation On (1): Applies IFC model validation |
IfcExportMappingPath | Allows to specify an export mapping file path. See Import or Export mapping of IFC files. |
IfcExportSubtractOpenings | Subtracts the openings from the host geometry before export. Use this to increase the reliability of the geometry when opening in another software (it avoids relying on the boolean operations of the target software). It will make editing the model in the target software more difficult. Note: This behavior is default for IFC4 Reference View export.
|
IfcExportMultiPlyElementsAsAggregated |
Activates or deactivates the export of building elements with multi-ply compositions as aggregated entities. If this setting is activated, each ply material belonging to a building element (e.g. wall or column) is calculated and exported individually. This setting can be used to export quantities and value definitions for Ply-elements. Note: Ply quantities are exported when both IFCEXPORTMULTIPLYELEMENTSASAGGREGATED and IFCEXPORTBASEQUANTITIES system variables are set to ON. For IFC4 Reference View file, next to the quantities for the wall as a whole, the ply quantities are exported as a sub set for each ply (as IfcPhysicalComplexQuantity).
|
IfcExportTessalation |
Controls the level of tessellation of the exported geometry. If the Current faceting option is chosen, the faceting as set by FacetRes or Modeler properties is used. Choosing the Low, Medium or High options of regeneration of the facets. This makes the process longer. |
IfcCreateUniqueGuid | Defines whether a unique GUID for nested elements should be generated upon export. 1: unique guids for inside classified blocks 2: inside classified Xrefs 3: to enable both inside classified blocks and Xrefs |
IfcExportAuthor | Activates or deactivates the export of the author name in the IFC file header. |
IfcExportOrganization | Activates or deactivates the export of the organization name in the IFC file header. |
IfcExportAuthorization | Activates or deactivates the export of the authorization information in the IFC file header. |
IfcExportIDSPropertiesOnly | When an IDS-XML file has been imported, this setting controls whether only the properties required by the IDS should be exported to the IFC file or all properties should be exported. Off (0): Export all properties On (1): Export only the properties required by the IDS |
IfcExportAllVisibilityStates | Controls whether only the visible elements are exported to the IFC file when drawings contain visibility states. |
Import an IFC file in BricsCAD®
- To import an IFC file into your project, type Import in the Command line. The import file dialog box displays.
- Select the IFC file (*.ifc;*.ifczip) format from the Files of type drop-down list and choose the IFC model you want to import.
- Click Open.
The IFC Import Settings dialog box displays.
Note: All IFC2x3, IFC4, IFC4x1 and, IFC4x3 (IFC 4.3.2.0) files can be imported, but all are merged into a single IFC namespace. Differences between these schemas are dealt with in the background during IFC Import. When the IFC file is imported the data from the imported file integrates with the BricsCAD® data structure which means you can work with them right away. If the imported data contains custom properties, these property sets are made available.Important: FC4x1 is not an official version. While we support importing IFC4x1 files, the code is not actively maintained, and we advise using other IFC versions.You can create custom property sets and properties directly in BricsCAD® BIM and associate them with imported entities.
- (Optional) Change the settings in the IFC Import Settings dialog box (see the IFC Import Settings dialog box article).
- Click Import to import the IFC model.
IFC Placement
Defines how to position the IFC model with reference to the current drawing.
- IFC file reference point
- Defines the source reference point in the IFC model to be used for the position of the IFC model in the current drawing.The options are:
- Global origin
- Project location
- Site location
- Current file reference point
- Defines the target reference point in the current drawing to be used for the position of the IFC model.
Export an IFC file in BricsCAD®
- To export an IFC file in your project, type IFCEXPORT in the Command line. Select the Entire model option.
The IFC file name dialog box displays.
- Select the IFC file format in the Save as type list and specify the name of the exported drawing.
- Click Save to export the IFC model.
The exported BIM model is saved and is now ready to use in any IFC certified application.
- (Optional) Change the IFC export settings using the BIM section in the Settings dialog box.
Export an IFC file only for selected entities
- To export IFC model partially in your project, type IFCEXPORT in the Command line or press the Export to IFC icon in the Home Toolbar.
You are prompted: Select entities to export [Entire model/selection options (?)] <Entire model>:
- Select the entities in your model space to export as IFC and press Enter.
The IFC file name dialog box displays.
- Enter a name for the IFC file, choose the IFC format for export and click Save.
The selected entities are exported to IFC.
Import an IFC Project as Xrefs
To import an IFC Project as Xrefs:
- Type IMPORT in the Command line.
The Import file dialog box displays.
- Select the IFC file (*.ifc;*.ifczip) format from the Files of type drop-down list, and choose the IFC model you want to import.
The IFC Import Settings dialog box displays.
- In the Profile settings section, check the Explode spatial structure to XRefs option and click Import.
The drawing opens with Xrefs made for each floor in each building. This allows you to easily split large files into smaller BricsCAD® files.
Export a BricsCAD® BIM Project with Xrefs exploded
- Use the BIMCLASSIFY command to Classify Xrefs as BIM XReferences.Important: If you don't go through this step, your Xrefs are exported as blocks, instead of separate entities that are part of the Xref.
- Launch the SETTINGS command to open the Settings dialog box.
- Go to .
- Check Explode external references in IFC spatial structure and close the dialog box.
- Click the BricsCAD® icon and then select Export. Choose the IFC format for export, specify the name of the exported drawing and click Save.
The exported drawing now has all Xref elements merged onto one Site and one Building.
Work with IFC properties
- Open the BIM Properties dialog box using one of these methods:
- In the ribbon go to BIM Properties displays.
- In the Command line, type BIMPROPERTIES.
- In the ribbon go to BIM Properties displays.
- Select IFC in the Namespace drop-down menu (2).
- Search for the desired property in the properties list (3).
- Set Visible (4) to Yes for the section to be visible in the Properties panel. Set to No to hide the section.
- In Categories select the IFC Classes you wish to display (5).
- Once all properties have been set, click OK.
- Select an object of the type or category that you just enabled the Property Set for (in this example an Energy Conversion Device). Go to the Properties panel. Scroll down to the section of properties you just enabled.
- Fill in the data as required (6).
Profiles in IFC import
When importing profiles from an IFC file to BricsCAD®, you can either import the profile properties in the IFC file, or let BricsCAD® look for corresponding profiles in the Project and Central Database, based on the geometry. The profiles are then assigned with proper Profile Standard, Profile Name and Profile Size in the Properties panel (1).

Supported IFC Classes
Following IFC Classes are supported by BricsCAD® BIM. These are the same categories as the classify options in the BIMCLASSIFY command.
IFC Classes that are backward compatible with older BricsCAD® versions:
- IfcWall
- IfcBeam
- IfcSlab
- IfcStair
- IfcStairFlight
- IfcRamp
- IfcRampFlight
- IfcRailing
- IfcCurtainWall
- IfcRoof
- IfcBuildingElement
- IfcSite
- IfcBIMXreference
- IfcGridAxis
- IfcGrid
- IfcAnnotation
- IfcWindow
- IfcDoor
- IfcCovering
- IfcFurnishingElement
- IfcOpening
- IfcDistributionControlElement
- IfcDistributionPort
- IfcDistributionFlowElement
- IfcDistributionChamberElement
- IfcEnergyConversionDevice
- IfcFlowFitting
- IfcFlowController
- IfcFlowMovingDevice
- IfcFlowSegment
- IfcFlowStorageDevice
- IfcFlowTerminal
- IfcFlowTreatmentDevice
- IfcFlowConnectionPoint
- IfcMember
- IfcFooting
- IfcPile
- IfcReinforcingBar
- IfcReinforcingMesh
- IfcTendon
- IfcTendonAnchor
- IfcPlate
- IfcDiscreteAccessory
- IfcFastener
- IfcMechanicalFastener
- IfcSpace
- IfcBuilding
- IfcBuildingStorey
- IfcDate
IFC Classes that are not backward compatible with older BricsCAD® versions:
- IfcBuildingElementPart
- IfcBuildingElementProxy
- IfcDistributionElement
- IfcElectricDistributionPoint
- IfcElectricalElement
- IfcElementAssembly
- IfcEquipmentElement
- IfcProxy
- IfcTransportElement
- IfcVirtualElement
- IfcActuator
- IfcAirTerminal
- IfcAir TerminalBox
- IfcAir-To-AirHeatRecovery
- IfcAlarm
- IfcAudio-VisualAppliance
- IfcBoiler
- IfcBurner
- IfcCableCarrierFitting
- IfcCableCarrierSegment
- IfcCableFitting
- IfcCableSegment
- IfcChiller
- IfcChimney
- IfcCivil Element
- IfcCoil
- IfcCommunicationsAppliance
- IfcCompressor
- IfcCondenser
- IfcController
- IfcCooledBeam
- IfcCoolingTower
- IfcDamper
- IfcDuctFitting
- IfcDuctSegment
- IfcDuctSilencer
- IfcElectricAppliance
- IfcElectricDistributionBoard
- IfcElectricFlowStorageDevice
- IfcElectricGenerator
- IfcElectricMotor
- IfcElectricTimeControl
- IfcEngine
- IfcEvaporativeCooler
- IfcEvaporator
- IfcFan
- IfcFilter
- IfcFireSuppressionTerminal
- IfcFlowInstrument
- IfcFlowMeter
- IfcFurniture
- IfcGeographicElement
- IfcHeatExchanger
- IfcHumidifier
- IfcInterceptor
- IfcJunctionBox
- IfcLamp
- IfcLightFixture
- IfcMedicalDevice
- IfcMotorConnection
- IfcOutlet
- IfcPipeFitting
- IfcPipeSegment
- IfcProtectiveDevice
- IfcProtectiveDeviceTripping Unit
- IfcPump
- IfcSanitaryerminal
- IfcSensor
- IfcShadingDevice
- IfcSlabElemented Case
- IfcSolarDevice
- IfcSpaceHeater
- IfcStackTerminal
- IfcSwitchingDevice
- IfcSystemFurnitureElement
- IfcTank
- IfcTransformer
- IfcTubeBundle
- IfcUnitaryControlElement
- IfcUnitaryEquipment
- IfcValve
- IfcVibrationIsolator
- IfcWallElementedCase
- IfcWasteTerminal
- IfcAlignment
- IfcReferent
Export a structural analysis model
It is possible to export a line model of a structure using the BIMANALYTICALMODEL command. It can either be exported to CIS/2 or to IFC. Choose the Export and exit Command line option to open the Choose a filename and format for export dialog box, which allows you to choose the file type to export.
For more information and examples, visit the procedure article Analytical Model.
Import or Export Mapping of IFC files
When you Import or Export an IFC file in BricsCAD®, all entities are imported or exported according to the default mapping. It is possible to import or export elements by special mapping and to exclude entities from import or export.
There are different txt configurations possible.
- No text mappingAll entities are imported or exported according to the default mapping.
- Import or Export an entity by special mappingIn case of import, you first write the IFC class, followed by the BricsCAD® class in which the entities should be imported. For example:
IfcWall BimDbColumn
In case of Export, you first write the BricsCAD® class, followed by the IFC class in which the entities should be exported. For example:BimDbWall IfcColumn
Note: When an IFC or BimDB entity isn't listed in the Import or Export mapping file, the default mapping is used. - Exclude an entity from the Import or Export
Write the IFC or BimDb entity followed by 'skip'.
For example for Import:IfcWall skip
For example for Export:BimDbWall skip
-
Import or Export only the listed entities
List the entities that should be imported or exported followed by '* skip' on the next line. The asterisk refers to all not listed entities.* skip
- Import or Export all not listed entities by the same special mapping
Write the asterisk followed by the name of the class in which the entities should be imported.
For example for Import:* BimDbWall
For example for Export:* IfcWall
- Import or Export entities by default mapping when using the asterisk
If you used one of the two previous options to skip all entities except the listed ones or to Import or Export by special mapping, you can still Import or Export entities by default mapping. Use the same text as you use to Import or Export an entity by special mapping. Instead of writing a special mapping next to the entity, write the default class or write 'default'.
For example for Import:IfcWall BimDbWall or IfcWall default
For example for Export:BimDbBeam IfcBeam or BimDbBeam default
Export Mapping of IFC Files
- Start from a similar model in BricsCAD® with all the building elements classified.Note: If the elements are not classified, run the BIMIFY command to classify the model.
- The building consists of several building elements: walls, slabs, doors, windows etc.
A custom Export Mapping file is created to only export the geometry of the building without windows, doors or spaces.
Note: If you export the file without a mapping file, all the elements are exported in the default IFC class. - Open a new TXT file to create the export mapping file. Use an ASCII text editor, for example Notepad.
- Follow these rules to add the text in the TXT file according to Import or Export Mapping of IFC files:
- For export mapping, write the BimDb entity followed by the IFC entity. Separate the two words by a single Tab. Do not use a space or multiple Tabs to align the IFC classes. The lines with a space or multiple Tabs are not used for Export Mapping.
- Only write one command per line.
- If a composition is attached to a wall in a BricsCAD® file, the wall is exported as IfcWallStandardCase instead of IfcWall.
Note: When a building entity is imported or exported by special mapping, the properties of the element change according to the default properties of the new category. - Two categories need to be added in the TXT file to create the Export Mapping File for this model.
- Exclude windows, doors and spaces.The BricsCAD® file contains normal windows and curtain walls, exclude both.
BimDbWindow skip BimDbCurtainWall skip BimDbDoor skip BimDbSpace skip
- Export beams by special mapping.Some walls are classified as beams in the current BricsCAD® file. These have to be exported as walls.
BimDbBeam IfcWall
- The resulting file looks like this:
BimDbWindow skip BimDbCurtainWall skip BimDbDoor skip BimDbSpace skip BimDbBeam IfcWall
Note: You can also create a file where you include the entities you want to export, followed by '* skip'. This gives the same result. - Exclude windows, doors and spaces.
- Save the file to your computer.
- Go to the BricsCAD® file you want to Export.
- Go through one of the following steps.
- Type SETTINGS in the Command line and press Enter. Go to . Click the three dots and select the mapping file on your computer.
- Type IFCEXPORTMAPPINGPATH in the Command line.
You are prompted: New value for IFCEXPORTMAPPINGPATH <"">:
Copy the path of the destination file in the Command line and press Enter.
- Type Export in the Command line and press Enter or click the BricsCAD® icon in the ribbon and select Export to export the file.
- Select the desired IFC file format in the Save as type list and save the IFC model to your computer.
- To check if the IFC file is correct you can open the file in an IFC viewer or you can import the file in BricsCAD® without an Import Mapping file. Type IMPORT in the Command line, press Enter, select the file on your computer and click Open.
Export Geographic Location to IFC
When geographic location data exist in a BIM model, proper export of said data is supported in the IFC export.
For IFC2x3:
In the Spatial Locations Manager dialog box (BIMSPATIALLOCATIONS command), with the Use Geographic Location from GEO dialog setting (under ), you can choose whether the geographic location information from the Geographic Location dialog box (GEOGRAPHICLOCATION command) should be used, or the information provided in the Spatial Locations Manager dialog box.
- If this setting is False: Longitude, Latitude, and Elevation from the Spatial Locations Manager dialog box is exported (as IfcSite). No CRS (Coordinate Reference System) is exported.
- If this setting is True: Longitude, Latitude, and Elevation from the Geographic Location dialog box + CRS (Coordinate Reference System) is exported (as IfcSite and IfcProjectedCRS).
For IFC4:
- If CRS is defined in the Geographic Location dialog box, the settings in the Spatial Locations Manager dialog box are ignored.
Longitude, Latitude, Elevation, and True North direction + CRS (Coordinate Reference System) is exported from the Geographic Location dialog box (as IfcMapConversion and IfcProjectedCRS).
- If no CRS is defined in the Geographic Location dialog box, no IfcMapConversion and IfcProjectedCRS information is exported.
Longitude, Latitude, and Elevation is exported (as IfcSite) according to the Use Geographic Location from GEO dialog setting in the Spatial Locations Manager dialog box.
Guidelines for exporting colors and transparency
During IFC export, BricsCAD® BIM includes colors and transparency settings in such a way that the model’s appearance in IFC viewers should resemble the appearance in BricsCAD® BIM as much as possible. Due to limitations of the IFC format, in some specific cases, colors and/or transparency settings might not be exported correctly. Try avoiding the following scenario: within one block, set the color to By Block for some solids, and assign a specific color to some other solids. In the IFC export, the By Block solids will not have the block reference color assigned.