material manipulation

part = mode.find("**/namethatyouneed")

that is if your model has named parts. too see what the model has do you model.ls()
then you can run:

new_m = Material(orig_m)
part.setMaterial(new_m, 1)

finding parts can work for lots of other things too.