I’m struggling with getting object colors to exported ifc files. I tried different ways: assigning colors directly, assigning them via layer, set the print color etc… Always the same result: gray objects, if i open it in a viewer like Trimble Connect.
When i look at the ifc file, I recognize, that the color is stored as “IFCCOLOURRGB” and assigned to a “IFCFILLAREASTYLE”. According to the specification IFC 2x3 specification, color information for surfaces is assigned by using “IfcSurfaceStyle”, not by using “IfcFillAreaStyle”. If i change this in the written IFC-File, the cube gets red.
Before #56=IFCCOLOURRGB($,1.,0.,0.); #57=IFCFILLAREASTYLE($,(#56)); #58=IFCPRESENTATIONSTYLEASSIGNMENT((#55,#57)); After #56=IFCCOLOURRGB($,1.,0.,0.); #57= IFCSURFACESTYLESHADING(#56); #58= IFCSURFACESTYLE($,.POSITIVE.,(#57)); #59=IFCPRESENTATIONSTYLEASSIGNMENT((#55,#58));
Do you agree, that this should be changed in a future version?