Painted Faces and IFC

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a basic wall in Revit, that I'd like to export to IFC. If I just create a wall and export as is, the IFC will contain a IFCEXTRUDEDAREASOLID representing the wall, and via various assignments, an IFCSURFACESTYLE('Default Wall' which represents the Material used.
So Revit seems to export Material assignments per object type, and these can be overridden on a per-object basis.
However, if I then paint one face of the wall with a different material, nothing changes in the IFC export. There's no information passed about that different material or the fact that certain faces are using a different material.
The IFC spec does allow for many different kinds of shape representations.
Shouldn't the IFC exporter essentially recognize that when a subset of faces have a different material, the IFCEXTRUDEDAREASOLID type is no longer suitable, and it should use instead the face-based representations like IFCFACEBASEDSURFACEMODEL? In that way, the individual faces with different materials are in one face-set with material A, and the other faces are in a second face-set with material B etc.
This is really screwing me right now, it seems like the IFC exporter is "lazy" in that it doesn't export all the Revit information if conceivably could.
Has anyone got any suggestions? I have looked into the IFC exporter code on Github, with the idea of trying to modify the export processes, but wonder how close this is to the standard code built into Revit? Is it an official source, or just a community-based approximation.
I'm just worried that switching from the default exporter to a custom exporter, I might end up with more bugs/issues than it's worth trying to implement the export on a face-based basis.