Question
How can I control Substance 3D plugin for Blender via Blender Python API?
I want to load a sbsar file and attach the material to any objects using Python API.
Like following pseudo codes,
import bpy
import substance3d
path = '<path/to/sbsar_file>'
substance3d.obj.load(path)
material = bpy.context.materials['name_of_sbsar']
object = bpy.context.selected_objects[0]
object.data.materials.append(material)
I have used Blender 4.0 and new Substance 3D Plugin for Blender.
Does anyone have any good advices?
