Update Materials from Server

Hello, I’m trying to figure out how to update materials from a server location. I want to be able to change the material properties on the server materials and then use a script to push out the changes to local models without having to manually update each material in each model.

I can load the materials using
_-Materials _Options _LoadFromFile
but the materials don’t overwrite and instead come in with their names indexed (ie. material (01), ect.)
I would like to overwrite the existing material. If that is not possible I would be OK with copying in the updated materials, copying the properties to the existing materials and then delete the materials I loaded in.

Only problem is I can’t seem to figure out how to do this with rhinopython or rhino common. What am I missing?


Hmm yeah… I’ll poke around, I am not sure on this one off hand.