PR: IfcReinforcingBar PredefinedType EXPORT
- 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]

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)


Only Working Setup (workaround) Using Instance USERDEFINED + ObjectType (Revit + IFC)


### Revit Version
2024.0.x
### IFC for Revit Addon Version
24.x.x
### Windows Version
11 22H2
Contributor 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