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.ops.object.make_single_user(object = True, obdata = True, material=True,texture = True )
for slot in bpy.data.objects[new_obj.name].material_slots:
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.