Autodesk / Autodesk/revit-ifc

PR: IfcReinforcingBar PredefinedType EXPORT

Open
#816 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,

apparently there is an issue with exporting IfcReinforcingBar PredefinedType from Revit.
We have tested in 2024 and 2025 too, issue is the same.

In IFC 4 BarRole attribute of [IfcReinforcingBarRoleEnum] has been changed to PredefinedType and [IfcReinforcingBarTypeEnum]
![image](https://github.com/user-attachments/assets/9de61c6a-dc3d-4bdc-a064-b5c0b9e1dcdb)

Unfortunately it is not working in IFC export!

Right now only workflow that actually writes PredefinedType into IFC Export is using "USEDDEFINED" + "ObjectType" value in Instances.
Any other enum value (standard ones) or any Revit Type parameters results with "NOTDEFINED" Ifc Exported file.

Not Working setup (Revit + IFC)
![Revit_NotWorkingExport](https://github.com/user-attachments/assets/eae1c90c-bf47-41c0-b299-dff03269e91b)
![IFC_NotWorkingExport](https://github.com/user-attachments/assets/79980d90-10aa-4978-8fd2-7fdb47fb9071)

Only Working Setup (workaround) Using Instance USERDEFINED + ObjectType (Revit + IFC)
![Revit_OnlyWorkingSolution](https://github.com/user-attachments/assets/831f30a1-5958-4305-b809-66733ff43d66)
![IFC_OnlyWorkingSolution](https://github.com/user-attachments/assets/8c6aed9a-aec0-4893-946d-e70b9060c6dd)

### Revit Version

2024.0.x

### IFC for Revit Addon Version

24.x.x

### Windows Version

11 22H2

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the IFC export in Revit 2024 or 2025 with an IfcReinforcingBar using a standard IfcReinforcingBarTypeEnum value, then compare it with the USERDEFINED/ObjectType workaround described in the issue. Done means standard bar predefined values and Revit type parameters export as the corresponding IFC PredefinedType instead of NOTDEFINED.

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.