soSimple MEL to Python and Pymel Converter UI 1.0 for Autodesk Maya
Do you prefer scripting in Python/Pymel rather than MEL like me?
I created melToPymel UI to have an easy way to convert existing MEL scripts or Maya Console Outputs into Python code. Once converted I can edit and implemented the Python code into my own scripts.
The script is based on the function mel2py.mel2pyStr plus some modifications for formatting.
Install/Use:
Maya 2022 and above: Install Pymel following the instructions on the Autodesk Site : https://help.autodesk.com/view/MAYAUL/2024/ENU/?guid=GUID-2AA5EFCE-53B1-46A0-8E43-4CD0B2C72FB4
1. Copy this script to your Maya script folder : C:\Users\Your_Username\Documents\maya\scripts
2. To open the UI run the following code in Maya's Python script editor window
import melToPymelUI as melToPymelUI
reload(melToPymelUI)
melToPymelUI.UI()
Hope you find good use and happy coding :)
A easy to use UI to convert MEL to PyMel or Python Code in Autodesk Maya