PR: Reversed Y-axis in local placement of IfcWindow entities
- Dominant language
- C#
- Stars
- 637
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
### Problem Description
The IFC standard seems to suggest that the **positive Y axis of the local placement** of ```IfcWindow``` entities always points to the **interior** side and therefore determines the swing direction:

This becomes important when checking for objects that may interfere with the window swing (e.g. Solibri rule 226). Unfortunately, Revit exports ```IfcWindow``` entities with the positive Y axis of the local placement pointing to the **exterior**.
- Tested in 25.4.4
- Test file: https://github.com/andydandy74/MyIssues/blob/master/RevitIFC921/191_WindowLocalPlacement.rvt
### Expected behaviour
Have the positive Y axis of the local placement of ```IfcWindow``` entities oriented to the **interior** side.
### Revit Version
2025.4.x
### IFC for Revit Addon Version
25.4.0
### Windows Version
11 24H2
Contributor guide
Research direction
Start by reproducing the export with RevitIFC921/191_WindowLocalPlacement.rvt and inspect the IfcWindow local-placement export path in the C# project. Done means the positive Y axis of exported IfcWindow entities points to the interior side, while preserving correct swing-direction behavior for the reported Revit 2025.4.x case.
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