Autodesk / Autodesk/revit-ifc

PR: IfcShapeAspect has none unique name and does not match IfcMaterialConstituent of instance object

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

Description

### Problem Description

When a loadable family with multiple materials is exported the IfcShapeAspect's are not named unique and do not match the IfcMaterialConstituents of the object instance in the IFC file.

The IfcShapeAspect seem to be named based on the IfcMaterialConstituentset of the object type. these are however not named uniquely and names diffrently as the IfcMaterialConstituentset of the object instance.

This seems like a similar issue to #517 but then for loadable families

Image

Below a minimal example, the IFC and RVT are included
[Testproject_Materials and Subcategories_R24_Issue IfcShapeAspect Naming.zip](https://github.com/user-attachments/files/24236940/Testproject_Materials.and.Subcategories_R24_Issue.IfcShapeAspect.Naming.zip)

(please let me know if more info is required)

### Revit Version

2024.3.x

### IFC for Revit Addon Version

24.3.2

### Windows Version

11 25H2

Contributor guide

Open the contributing guide

Research direction

Start with the attached Testproject_Materials and Subcategories_R24 example and compare the IfcShapeAspect names with the IfcMaterialConstituents for the object instance in the exported IFC. Review the related issue #517 for context; done means loadable families with multiple materials produce unique, matching names.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.