Haven't written anything inside Maya for a while but if I recall you can use eval() function. http://help.autodesk.com/cloudhelp/2017/CHS/Maya-Tech-Docs/CommandsPython/eval.html "This function takes a string which contains MEL code and evaluates it using the MEL interpreter. The result is converted into a Python data type…
Hi, I've created a toolbox with a bunch of buttons written in MEL. I'm wondering if I can port that window into Python without having to completely rewrite all the buttons, just re-code the GUI. And if so where should I go to learn how to create a Phython toolbox, I checked the Maya help and didn't really see a tutorial in…
@malcolm You might give this free script a whirl: https://www.highend3d.com/maya/script/ezmel2python-for-maya It will convert MEL code into Python for you. I used it a lot when I was first teaching myself Python so I could compare one language to the other. It's not perfect, but that is to be expected with any translator,…