Maya Python Pyside2 GUI, Local Variables between Defs

In this lesson, I go over how to create a simple UI (GUI) for python scripts in Maya, using the built in Pyside2 (Maya 2017 and above) and how to pass local variables between definitions (functions). These are two essential things to know in order to create useful Maya tools using Python, but it can be challenging to find proper documentation. I’ve also created a template that you can download for free https://github.com/mad-guru/maya/blob/master/_UI_sample.

English

Urdu/Hindi