I have a model about blender,there is a object (name's car_AudiA8) with multi-material,I want to copy a new object from the object ("car_AudiA8"),then change new object's color and old object's color is not affected,my method is :
obj = bpy.data.objects["car_AudiA8"]
mesh = obj.data
new_obj = bpy.data.objects.new("car_AudiA8", mesh)
bpy.context.scene.objects.link(new_obj)
bpy.ops.object.make_single_user(object = True, obdata = True, material=True,texture = True )
for slot in bpy.data.objects[new_obj.name].material_slots:
if (slot.name.startswith("carpaint.Black")):
bpy.data.materials[slot.name].diffuse_color = (1,0,0)
but when the method doesn't work,I don't know reason. when render the object , car's color doesn't change.

diffuse_coloris internal renderer value. So you mast recreate you materials to internal, or change color in nodes – Crantisz Jul 03 '17 at 08:57