Autodesk / Autodesk/revit-ifc

IfcClassification has a flattened HasReferences hierarchy upon export

Open
#186 1 comment 0 reactions 0 assignees View on GitHub
parameters-properties Triage
Dominant language
C#
Stars
637
Forks
225
PR merge metrics
No merged PRs in 30d

Description

The `HasReferences` attribute denotes the classification hierarchy, up through a tree of `IfcClassificationReference` before the top-level `IfcClassification` entity.

Revit does not seem to export the subset of the classification tree upon export, but instead flattens the classification hierarchy so that only the leaf nodes are included.

The practical downside is that if an element is classified as "Foo-Bar-Baz", a search for elements under "Foo-Bar" will turn up nothing in the IFC file.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named in the issue. Start by tracing the export handling for IfcClassification and IfcClassificationReference, then inspect an exported IFC containing a nested Foo-Bar-Baz classification. Done means the exported HasReferences hierarchy preserves parent classifications so searches for Foo-Bar find the classified element.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.