Blender addon : set object color from BSDF
Very simple addon that will change the color and alpha of the selected objects to match the respective BSDF of the first slot material. find it in the EDIT tab of the N panel. You need to select at lease one object for it to appear in the panel.
It is especially good for big assembly models imported from CAD, where materials are already set by parts : you will display those colors in the color mode of the viewport solid display mode.
Will process all the selected objects. You can choose to replace the colors of the objects that have the default color (= when the user did not change it by hand), or force to update the colors even if it already had been changed by the user.
It will allow you to have a nice viewport in solid mode with colors close to the real material (but no weird textures of the texture mode)
A python file!