0

How can I change the material of my object (Hand) with Python? I do not want to add a new material. I just want to assign an existing material.

enter image description here

Harry McKenzie
  • 10,995
  • 8
  • 23
  • 51
BBlender
  • 5
  • 2

1 Answers1

0

Do this:

 bpy.data.objects["Hand"].material_slots[0].material = bpy.data.materials['Material.001']