Community supporter Chris Zubrigg has posted a new ongoing series of tutorials offering tips and tricks for using python within Autodesk Maya. Chris has posted some great tutorials on Maya Scripting with an introductory look at python for Maya, and using pyside for Maya.
In this tips and tricks lesson, we look at how to get the value stored in a MEL global variable using Python
These are intermediate examples, with the first four episodes posted, looking at Getting the Value of a MEL Global Variable, how to list all MEL Global Variable Names, how to get and set Maya environment variables using python, and how to query and edit the animation and playback time ranges using Maya commands in Python.
check out the Maya Python: Tips and Tricks on Chris Zubrigg’s site here.