Hello everybody, I'm modifying a script I've used in the past and am running into issues. The goal is to have a for loop that creates a StingrayPBS shader, then checks the "Use Color Map" attribute. The pain point is that the "Use Color Map" attribute doesn't seem accessible until after the loop is completed. I run the…
it's more likely it just hasn't finished setting the material up before the next line runs. I don't do mel so can't really suggest a solution but if this were python i'd assign the created material to a variable and then act on the variable rather than making the assumption that the material exists. I assume mel can do the…