Material and Texture Change Python Script
问题 I am trying to make a script centered around changing the material via a drop-down menu and the texture via a slider. I am having some difficulty applying to a model. How can I change my script to fit this requirement? import maya.cmds as mc if mc.window("ram", exists =True): mc.deleteUI(ram) ram = mc.window("Material and Texture",t = "Material and Texture v0.9", w=300, h=300) mc.columnLayout(adj = True) imagePath = mc.internalVar(upd = True)+"icons/scriptlogo.jpg" mc.image(w=300,h=200,image