Autodesk / Autodesk/revit-ifc

Predefined types are not inherited correctly

Open
#473 1 comment 0 reactions 0 assignees View on GitHub
IFC mapping Triage
Dominant language
C#
Stars
637
Forks
225
PR merge metrics
No merged PRs in 30d

Description

If I have the following type parameters in Revit, I expect to see:

- IfcWallType, with PredefinedType=USERDEFINED and ElementType=FOOBAR
- IfcWall with PredefinedType=NULL

But instead I see IfcWall, with PredefinedType=USERDEFINED and ObjectType set to null.

(edit: sorry screenshot is incorrect, "ObjectType[Type]" should be "ElementType[Type]"

![image](https://user-images.githubusercontent.com/88302/176394446-342c4465-a316-4db4-b190-4e9a611af343.png)

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Reproduce the issue in Revit with the stated IfcWallType and IfcWall parameters, then locate the IFC export path that handles predefined types and inheritance. Done means the export contains IfcWallType with USERDEFINED and ElementType=FOOBAR, while IfcWall has a null PredefinedType.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
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.