Python: After linking texture to material how do I add it to blenders texture list?

by Invariant   Last Updated August 14, 2019 03:15 AM

So I have created an image texture using python in 2.80, and linked it to the material and that shows fine.

However in the property editor under texture it does not show up in the list.

I tried many things, and cannot find an answer online.

Does anyone know how to do that?

texIm = material.node_tree.nodes.new('ShaderNodeTexImage')
texIm.image = self.loadImage("test")
#how to add that to the texture list in property editor?
Tags : python import


Related Questions


Updated March 02, 2017 09:15 AM

Updated May 09, 2016 08:06 AM

Updated April 29, 2019 11:15 AM

Updated June 23, 2019 16:15 PM

Updated March 13, 2017 18:15 PM