PR: IfcBuilding attributes not being exported
- Dominant language
- C#
- Stars
- 637
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
### Problem Description
Hello,
my colleague found a weird issue regarding exporting basic entitie¨s attributes. Specifically the IfcBuilding.Description and IfcBuilding.LongName attribute are not exported. The IfcBuilding.LongName is set to the same value as IfcBuilding.Name.
For IfcSite and IfcProject it works fine. I used the default shared parameters file to create respective project parameters.
See attached file to reproduce.
[BUG_IfcBuildingAttributes.zip](https://github.com/user-attachments/files/25263147/BUG_IfcBuildingAttributes.zip)
### Revit Version
2025.4.x
### IFC for Revit Addon Version
25.4.40
### Windows Version
11 25H2
Contributor guide
Research direction
Start with the attached BUG_IfcBuildingAttributes.zip reproduction and compare the exported IfcBuilding attributes with the working IfcSite and IfcProject attributes. The fix is complete when IfcBuilding.Description and IfcBuilding.LongName export correctly, with LongName no longer copied from Name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100