Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Assign a material to selected objects in Blender
# reference:
import bpy
mat ='my_material')
for o in bpy.context.selected_objects:
if[0] = mat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment