When and Why to Use “If Name Equals Main” in Maya Scripts
Chris Zurbrigg posts a short look at the if __name__ == “__main__” in Python, what it means, and how it can be used in Maya scripting.
CONTINUE READING
Chris Zurbrigg posts a short look at the if __name__ == “__main__” in Python, what it means, and how it can be used in Maya scripting.
CONTINUE READING
Zeth Willie covers the basics for using “for” and “while” loops in Python when scripting in Autodesk Maya, providing a great foundation if you are coming over from using the MEL language.
CONTINUE READING