Autodesk / Autodesk/revit-ifc

Revit should export colour information associated to IfcMaterial where possible

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

Description

Revit seems to want to export colour information using `StyledByItem` (See Geometry presentation assignment in the below chart), whereas although this makes sense in a small subset of scenarios (e.g. object specific colour overrides), for the majority of cases, it makes more sense to assign colours to an IfcMaterial (See material presentation assignment in the below chart).

This leads to extremely unnecessarily large IFC files, as well as confusion when people expect a material to have a colour - and therefore also unnecessarily inefficient workarounds to derive actual colours.

![image](https://user-images.githubusercontent.com/88302/80323614-d2f15480-886f-11ea-9ac7-cd890cb68bdc.png)

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by locating the Revit IFC export handling for StyledByItem, IfcMaterial, and material presentation assignment, then compare generated IFC output for ordinary materials and object-specific colour overrides. Done means colours are assigned to IfcMaterial where appropriate without removing valid object-specific overrides, and the resulting IFC files avoid unnecessary duplication.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.