I thought it was something like :
python ("import switchTexture switchTexture.switch()")
assuming that my python file was switchTexture.py and inside this file, it
starts with :
def switch():
But I got
Error: line 1: invalid syntax
Warning: line 0: Pre-Render MEL script failed...
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/ea5bbcb4-9240-4abe-ad54-f25cb0ea1fdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.