Stratal CAD

Importing and exporting IFC

Help centre · Sheets, plotting and exchange

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

Steps: import

  1. Type IFCIMPORT on the command line, or find Import IFC in Search tools (Ctrl+K).
  2. 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.
  3. 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.
  4. 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

  1. Type IFCEXPORT, or find Export IFC in Search tools.
  2. At "IFC file to write" type a file name. .ifc is added if you leave it off.
  3. At "Schema (IFC4, IFC2X3, IFC4X3_ADD2) <IFC4>" press Enter for IFC 4, or type IFC2X3 or IFC4X3_ADD2.
  4. Objects without an IFC GlobalId are given one first, as one undo step, so the next export names the same objects the same way.
  5. 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

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

Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.