Autodesk / Autodesk/revit-ifc

PR: Some elements weird export behavior

Open
#875 1 comment 0 reactions 0 assignees View on GitHub
problem
Dominant language
C#
Stars
637
Forks
225
PR merge metrics
No merged PRs in 30d

Description

### Problem Description

Hello there we have found out that some elements are exported differently than others, despite fact that these are the same type in Revit.

We have Custom IFC 4x3 setup including "Revit property sets".

After export it seems that some elements keep all Psets and other do not.
In example "C-shaped" roof has all Psets and Parameters
![Image](https://github.com/user-attachments/assets/7e07196a-3bb1-4b7e-a495-cdeb2dda766c)

Smaller roof on the other hand has not all of those
![Image](https://github.com/user-attachments/assets/79a165f7-5083-4071-acac-336c3aea636b)

Examined this even further in BonsaiBIM and found out strange thing.
"C-Shaped" roof is an IfcRoof class with geometry and all parameters
![Image](https://github.com/user-attachments/assets/259a833d-3736-4979-a009-b38cfc526e2f)

Smaller roof is exported as 2 entities IfcRoof with all parameters, but no geometry + IfcSlab.ROOF with geometry but not all parameters....
![Image](https://github.com/user-attachments/assets/96148dc3-0199-4517-abda-f0f7a5170314)

Found in Revit 2024, tested in 2026 same issue, in both versions:
- IFC 2x3 - seems fine
- IFC 4 - seems fine
- IFC 4x3 - not fine :(

RVT + IFC there
[NotExportingAllParameters.zip](https://github.com/user-attachments/files/20604517/NotExportingAllParameters.zip)

### Revit Version

2026.0.x

### IFC for Revit Addon Version

26.1.0

### Windows Version

11 24H2

Contributor guide

Open the contributing guide

Research direction

Start with the attached NotExportingAllParameters.zip and reproduce the export in Revit 2024 or 2026. Compare IFC 2x3, IFC 4, and IFC 4x3 in BonsaiBIM, focusing on the smaller roof being split between an IfcRoof without geometry and an IfcSlab.ROOF without all property sets. Done means IFC 4x3 exports the roof geometry and parameters consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.