Open GVladislavG opened 3 years ago
Can you share an IFC file with one of these walls?
The blue colour in this case is assigned through the material list and definition representation #487= IFCMATERIALDEFINITIONREPRESENTATION($,$,(#485),#470);
Xbim currently only handles single colour for a product, but rendering material layer sets or lists would require per-face colour handling. See #279
So is there any way now to read this material list and to set correct blue color to a wall? Or this type of colors is not supported in current version? Thanks for your answers.
You can read it from IFC directly and enhance the result. We do plan some support in the future, but it is not in the current version.
I have the same problem with colors in IFC4 files. Is it because of the same reason? IFC4.zip
This is a large file, so I'd like to ask you to create a minimal example with just a single IfcProduct
.
And can you show me please a place in XbimEplorer source code, where getting of color happens? XbimEplorer shows incorrect colors but it's better than nothing in my case. Thanks.
Which element has a wrong colour? The best sample file would be the one containing only the element in question.
Blue color is wrong. It must be brown. Here's two more examples of incorrect colors in XBimExplorer
Roofs have wrong colors in these XBimExplorer visualisations. BimVision shows correct colors. I also share these IFC-files RAC_basic_sample_project.zip IFC4.zip
I try to get color of IFCElements, using this code
But I can't get right color for every element. For example walls are blue in BIM Vision, but they are grey in my application. Where is the problem?