I have a question about some command in Python to define material to use in Indigo. I search in old topics but no one seems to use Python for Blendigo.
Here's my issue. I active an object and create a material for it, then I make that material a Indigo external material to use a .igm file with that command :
Code: Select all
bpy.types.indigo_material.type = 'external'
Did you guys know how to define a Indigo material and affect it to an object with python ?
I tried to do that :
Code: Select all
new_mat = bpy.types.indigo_material
new_mat.type = 'external'
Hope somebody can help me !
Thanks already,
Sowly