Elements in my IFC model appear in different colours despite having the same material assigned.
I've encountered this problem recently when exporting from Revit to IFC 2x3. (I won't even start with what happens to the same file when exporting to IFC 4 :D ).
My IFC viewer is BIM Vision.
I've talked with many friends in the industry, noone has any idea, so consider me as representing a few of us having the same problem ;p
What I've already ruled out:
1. IFC Viewer is the problem - no, it's not. I've checked on many other viewers, the problem is exactly the same. And I'm not using any colour overrides.
2. Material is wrongly assigned in Revit - no it's not. I have only 5 materials in the project file and I put much attention to it. Only one is named "Concrete".
3. It depends on element's type - no it does not. The problem applies to elements within the same category and family. In the example below I'm looking and category "Floor" but the problem also appears in "Walls".
4. Reinstallation of Revit and plugin will help - it does not. The issue is the same for every computer in the company with Revit 2018.2.
Below are the screenshots with an example of two slabs of different type and location, but the same material:
Parameters of 1st element
Parameters of 2nd element
I've tried to follow the path of connections between IFC classes, but without much success.
Any help or future improvement would be helpful.
Last edit: Tomasz Półtorak 2017-12-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you provide a small IFC file that contains 2 elements with the same material but different color, both RVT and IFC? Then we can try to troubleshoot.
Thanks,
Angel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And here comes the strange part. When I'm exporting only those 2 elements mentioned above, their colour is OK - according to the setting.
I've exported 4 elements which combination gives wrong results. (They are not the ones mentioned in the first post).
There is one element with material "Filling material" and 3 elements with "Concrete" assigned. Only 1 "Concrete" element has the right colour.
The rest of the elements have the colour of "Filling material" material.
I don't know - looking at that IFC file in Solibri shows three elements of one color and one (with two bodies) of another color? What am I misunderstanding...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for the answer!
...hmm. I checked this particular file in BIM Vision only. It looks like it's displayed correctly in Tekla BIM Sight and Solibri. I've also checked the original file - it is wrongly displayed in BIM Vision only...
That makes me look bad, doesn't it? ;p So there actually is some problem on the viewer side. But...
My assumptions were made on a different model with similar problem. All slabs marked "x" have the same material. They have different colours though. Screenshots from BIM Vision and Solibri below
I will prepare and update the files after the weekend.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Wow, I can see it now. the slab with the plug in it exported with the color for concrete. Interesting that when I unjoin the plug from the slab, it is exported properly. I will file an issue to investigate. So it looks like some of these elements were imported, using Dynamo? I see render materials in there.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for interest!
These elements were not imported with Dynamo. I think that the .rvt file was a template without much cleaning in material library. These are just some leftovers ;p
HINT: I have figured out, that after PURGE (without any filtering) the problem does not exist after IFC export. I've tried to purge one type of information at once and repeat the export each time, but I didn't come to any conclusions :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Revit 2018.2
Elements in my IFC model appear in different colours despite having the same material assigned.
I've encountered this problem recently when exporting from Revit to IFC 2x3. (I won't even start with what happens to the same file when exporting to IFC 4 :D ).
My IFC viewer is BIM Vision.
I've talked with many friends in the industry, noone has any idea, so consider me as representing a few of us having the same problem ;p
What I've already ruled out:
1. IFC Viewer is the problem - no, it's not. I've checked on many other viewers, the problem is exactly the same. And I'm not using any colour overrides.
2. Material is wrongly assigned in Revit - no it's not. I have only 5 materials in the project file and I put much attention to it. Only one is named "Concrete".
3. It depends on element's type - no it does not. The problem applies to elements within the same category and family. In the example below I'm looking and category "Floor" but the problem also appears in "Walls".
4. Reinstallation of Revit and plugin will help - it does not. The issue is the same for every computer in the company with Revit 2018.2.
Below are the screenshots with an example of two slabs of different type and location, but the same material:
Parameters of 1st element
Parameters of 2nd element
I've tried to follow the path of connections between IFC classes, but without much success.
Any help or future improvement would be helpful.
Last edit: Tomasz Półtorak 2017-12-07
Can you provide a small IFC file that contains 2 elements with the same material but different color, both RVT and IFC? Then we can try to troubleshoot.
Thanks,
Angel
And here comes the strange part. When I'm exporting only those 2 elements mentioned above, their colour is OK - according to the setting.
I've exported 4 elements which combination gives wrong results. (They are not the ones mentioned in the first post).
There is one element with material "Filling material" and 3 elements with "Concrete" assigned. Only 1 "Concrete" element has the right colour.
The rest of the elements have the colour of "Filling material" material.
Last edit: Tomasz Półtorak 2017-12-07
Thanks for the files - we will take a look.
I don't know - looking at that IFC file in Solibri shows three elements of one color and one (with two bodies) of another color? What am I misunderstanding...
Thank you for the answer!
...hmm. I checked this particular file in BIM Vision only. It looks like it's displayed correctly in Tekla BIM Sight and Solibri. I've also checked the original file - it is wrongly displayed in BIM Vision only...
That makes me look bad, doesn't it? ;p So there actually is some problem on the viewer side. But...
My assumptions were made on a different model with similar problem. All slabs marked "x" have the same material. They have different colours though. Screenshots from BIM Vision and Solibri below
I will prepare and update the files after the weekend.
Attached you'll find files. Problem persists in all viewers.
P.S.: BIM Vision developer reported that mistakes on their side have been corrected.
Wow, I can see it now. the slab with the plug in it exported with the color for concrete. Interesting that when I unjoin the plug from the slab, it is exported properly. I will file an issue to investigate. So it looks like some of these elements were imported, using Dynamo? I see render materials in there.
Thank you for interest!
These elements were not imported with Dynamo. I think that the .rvt file was a template without much cleaning in material library. These are just some leftovers ;p
HINT: I have figured out, that after PURGE (without any filtering) the problem does not exist after IFC export. I've tried to purge one type of information at once and repeat the export each time, but I didn't come to any conclusions :(
Any updates?