I had a doubt, I wanted to place an established texture on the material created, but I don't know how, since the textures part is not a simple link type data in itself, but if I link directly where the link of the image is born is a bitmap but I don't know how it relates to the material.
import c4d def main(): mat = c4d.BaseList2D(c4d.Mmaterial) doc.StartUndo() doc.AddUndo(c4d.UNDOTYPE_NEW, mat) doc.InsertMaterial(mat) mat[c4d.MATERIAL_USE_REFLECTION] = False #mat[c4d.MATERIAL_COLOR_SHADER] ? #Bitmap[c4d.BITMAPSHADER_INTERPOLATION]? #Bitmap[c4d.BITMAPSHADER_FILENAME]? doc.EndUndo() c4d.EventAdd() # Execute main() if __name__=='__main__': main()