Bring the walls, slabs, doors, spaces and other objects of an IFC building model into a drawing, or write your drawing's building objects to IFC 4, IFC 2x3 or IFC 4.3, for BIM coordination.
Before you start
- An active licence: import changes the drawing, and export stores IDs in it.
- An IFC file (
.ifc). Stratal CAD reads IFC 2x3, IFC 4 and IFC 4.3. - IFC is read and written by the IfcOpenShell components that are installed with Stratal CAD. If your copy was installed without them, both commands say "IFC exchange needs the IfcOpenShell provider (formats-ifc), which this build does not include".
Steps: import
- Type
IFCIMPORTon the command line, or find Import IFC in Search tools (Ctrl+K). - At "IFC file to import" type or paste the file's full path and press Enter. Quotes around the path are fine. A name without a folder is looked for next to the drawing.
- The file is read in a separate, protected process. Its objects are added as one undo step, with their containment (site, building, storeys), openings, port connections, systems and property sets.
- The command line reports the schema and how many spatial elements, elements and systems came in, followed by a report of what was converted and what was not.
Steps: export
- Type
IFCEXPORT, or find Export IFC in Search tools. - At "IFC file to write" type a file name.
.ifcis added if you leave it off. - At "Schema (IFC4, IFC2X3, IFC4X3_ADD2) <IFC4>" press Enter for IFC 4, or type
IFC2X3orIFC4X3_ADD2. - Objects without an IFC GlobalId are given one first, as one undo step, so the next export names the same objects the same way.
- The file is written, read back and compared with what was meant to be written. The command line reports what was exact, converted, approximated, preserved or left out.
What is exported
The drawing's discipline objects: building objects such as walls, slabs, doors, windows and spaces, systems, alignments and their property sets. IFCMAP lists how each object class maps to an IFC entity, and which classes in this drawing have no mapping; those are written as IfcBuildingElementProxy.
Example
An architect sends house.ifc exported from their modelling program as IFC 4. Run IFCIMPORT, give C:\Jobs\House\house.ifc, and the walls, slabs, doors and spaces arrive in the drawing on their storeys. A later version of the same building can be attached read-only with FEDERATE for clash checks.
Tips and common mistakes
- Ask the sender for IFC 4 with base quantities and the property sets you need, and for a model that uses the same coordinate base each time.
- Models from programs whose files Stratal CAD cannot open, such as
.rvtand.skp, come in through IFC. Opening one of those files gives the route. - IFC is not a drawing format: it is not offered by File > Open…. Use the two commands.
- When IFC is available, the File menu has Import IFC… and Export IFC…, which run
IFCIMPORTandIFCEXPORT. Without the IFC component the File menu shows IFC… greyed out with the reason. Check withIFCMAP, and check withIFCMAP, which ends by saying whether IFC files can be read and written in your copy.
Troubleshooting
| Message or symptom | What it means and what to do |
|---|---|
| "IFCIMPORT is unavailable: IFC exchange needs the IfcOpenShell provider (formats-ifc), which this build does not include." | Your copy has no IFC support. Reinstall from the portal's Downloads page, or contact support. |
| "No file was given; nothing was imported." | You pressed Enter without a path. Run the command again. |
| "The IFC file was not read: ..." | The file is damaged, not IFC, or in a schema that is not read. The reason follows. |
| "IFCIMPORT failed: ...; the drawing is unchanged." | Nothing was added. The report lines after it give the cause. |
| ""IFC5" is not a schema Stratal writes: IFC4, IFC2X3 or IFC4X3_ADD2." | Type one of the three schemas. |
| "The IFC file was not written: ..." | The file could not be written, for example because it is open elsewhere. Choose another name. |
| "The written file could not be read back to check it: ..." | The file was written but could not be checked. Open it in an IFC viewer to check it. |
Related
Related
- Plotting a drawing to PDF
- Printing and plotting a drawing
- Setting up a sheet set
- Publishing and printing a sheet set
- Importing and exporting DXF
- Exchanging STEP, IGES and 3D files
Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.