In IFC4, Revit still uses deprecated IfcPresentationStyleAssignment and doesn't support IfcPresentationStyle
- Dominant language
- C#
- Stars
- 637
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
It should use `IfcPresentationStyle` instead. This means that IFC4 exports from other BIM applications, when imported into Revit, do not have colours. It also leads to invalid IFC4 exports which cannot be read in other BIM applications.
The proper behaviour is for IFC2X3 Revit to support both IfcPresentationStyleAssignment and IfcPresentationStyle. In IFC4 it should only support IfcPresentationStyle.
See here: https://standards.buildingsmart.org/IFC/DEV/IFC4_2/FINAL/HTML/link/ifcstyleditem.htm
Contributor guide
Research direction
Read the linked IFC4 ifcstyleditem.htm specification first, then trace the Revit IFC import and export handling for presentation styles. Verify the required distinction: IFC2X3 supports both style forms, while IFC4 uses only IfcPresentationStyle, and confirm colors and cross-application readability with representative IFC files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100