Merging duplicate materials and merging them

I’ve imported several sub assemblies into the master Rhino file and now I have the same material, i.e. paint, metal materials.

Is there a way to merge duplicate materials to make it easier to manage the materials library?

Thanks in advance…Jim

Please give it a try with RenderMergeIdenticalMaterials

Thanks Jessesn…worked like a charm…really appreciate you taking the time to respond…what a great online community Rhino users are…thanks again!