I have simply transformed an IFC file to OBJ format, but the default result is that everything has the same flat grey colour. I notice that I can edit the created "materials.mtl" file afterwards to change the different material types, and when I then import the created OBJ file into Blender, I see that the new colours are there. I would like to automate this however, for example making all walls a certain colour, all floors a certain colour, etc., or even changed their colour based on attributes. Is this possible? I see under the OBJ Writer parameters that I can specify a custom Material Library File, but I don't have one to start and I would prefer to simply generate it dynamically, just with the colours for each feature that I specify. How can I do this?
I tried using a ColorSetter transformer just after reading some specific feature types but that didn't do anything.