Skip to content
For software developers · 3D InterOp SDK

Convert XCGM to IFC in your application

3D InterOp is a CAD interoperability SDK that lets your software read XCGM files and write IFC, writing the exact geometry into a format that can also hold facets.

Spatial does not offer an online converter or a desktop conversion app. 3D InterOp is a component that software vendors embed in their own products.

  • Reads XCGM · Writes IFC
  • Exact geometry → mixed-geometry format
  • C++ / C# APIs
part.xcgmXCGM · exact B-Rep
Your application
3D InterOp SDK
XCGM readerHealingIFC writer
building.ifcIFC4 · BIM elements and properties

XCGM to IFC at a glance

XCGM stores exact geometry; IFC can hold exact solids and facets. What ends up in the IFC file depends on what the IFC writer writes, as detailed below.

XCGM (source)IFC (target)
Full nameCGM native fileIndustry Foundation Classes
Standard / ownerDassault Systèmes / Spatial (CGM Modeler)buildingSMART, ISO 16739
File extensions.xcgm.ifc, .ifczip
GeometryExact B-RepExact B-Rep and tessellated geometry
Assemblies / structureYesYes: spatial and element hierarchy
PMISemantic (read)Not part of the IFC schema
3D InterOp supportRead and writeRead and write

What's preserved, what changes

Here is what your application can expect to carry across from XCGM to IFC.

  • Preserved
    Exact geometry
    Exact B-Rep read from XCGM is written to IFC as exact geometry.
  • Preserved
    Product structure
    The XCGM product structure is written to IFC.
  • Not carried
    PMI
    IFC has no PMI, so the PMI read from XCGM isn’t written. Keep STEP AP242 as an output when PMI matters.

Why software vendors add XCGM to IFC conversion

Open BIM deliverables

Many projects specify IFC deliverables. Writing it lets your users meet those requirements from your software.

Coordination and clash detection

Coordination tools gather models from every discipline in IFC. Your users can contribute without a round trip through another tool.

Facility and asset data

Owners and operators often receive building data as IFC for asset management after handover.

Things to check before you ship

  • Written IFC versions: IFC2x3 to IFC4x3 ADD2 (.ifc).
  • Exact B-Rep needs IFC4 or later; IFC2x3 files only get tessellation.
  • XCGM has no BIM semantics: check which IFC class your application assigns to each object.
  • Supported XCGM input: R2012 to 2025 1.0.
  • Validate a sample of translated files in the target system your users actually work with.

Working with Spatial was a real milestone for us: Thanks to the powerful 3DInterOp library, we were able to successfully bring our complex CAD-based solutions to the cloud while remaining flexible to meet individual customer requirements. For us, Spatial is not just a technology partner, but a true enabler of our product strategy.

Dr. Arno Michelis, Founder, Simus Systems

Read the Case Study

About the formats

  • Source format

    What is an XCGM (.xcgm) file?

    XCGM is the native file format of the CGM geometric kernel, used by CGM Modeler and Dassault Systèmes applications. It stores exact B-Rep geometry.

  • Target format

    What is an IFC (.ifc) file?

    IFC is the open, vendor-neutral standard for exchanging building information models, maintained by buildingSMART and published as ISO 16739. It carries building elements with their geometry, properties and relationships.

Frequently asked questions

The exact B-Rep that 3D InterOp reads from XCGM is written to IFC.

IFC has no PMI, so the PMI read from XCGM isn’t written. When PMI matters, offer STEP AP242 as an output.

Yes. 3D InterOp reads the XCGM product structure and writes it to IFC.

Write IFC4 or later to keep exact B-Rep: IFC2x3 files only get tessellation. 3D InterOp writes IFC2x3 to IFC4x3 ADD2.

XCGM has no BIM semantics, so your application decides which IFC class each object is written as.

3D InterOp reads R2012 to 2025 1.0.

3D InterOp writes IFC2x3 to IFC4x3 ADD2 (.ifc).

  • Building software that needs to convert XCGM to IFC?

    3D InterOp is an SDK that lets your application read XCGM and write IFC alongside 30+ CAD and BIM formats.