Answers for "load materials from files Blender Api"

0

load materials from files Blender Api

import bpy
import os
 
path = os.path.dirname(__file__) + "/materials/materials1.blend\\Material\\"
material_name = "test_material1"
bpy.ops.wm.append(filename=material_name, directory=path)
Posted by: Guest on December-01-2020

Browse Popular Code Answers by Language