I have this script in Python which I'm running into a maya file from a command line:
But I get this error when I try to run the batch file:
In the Hypershade, the shader BlueGlass is connected to a shader group (SG) with the same name BlueglassSG and the script works from the UI inside maya.
Do I need to load a plugin or something in the script to make it run in the batch file?
You received this message because you are subscribed to the Google Groups "sydneypython" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To post to this group, send email to sydney...@googlegroups.com.
Visit this group at https://groups.google.com/group/sydneypython.
For more options, visit https://groups.google.com/d/optout.