Tuesday, August 14, 2012

Python History in your Script editor!

Stumbled upon this on the pyMel installation support page. 
Steps on how to install this below!



1. You'll need to navigate to the tools\scriptEditor directory for PyMel
    [Maya Install Directory]\Python\Lib\site-packages\pymel\tools\scriptEditor
    For Debian based Linux distros, you may need to substitute 'site-packages' for 'dist-packages'

2. Copy the pymelScrollFieldReporter.py into your plugins folder
    ([Maya Install Directory]/bin/plug-ins) or direct maya to this folder in the plug-in manager.

3. Copy the scriptEditorPanel.mel into your Maya scripts folder.

4. Enable the plug-in from the plug-in manager, and click on Convert Mel to Python (as seen in the picture above)

If you have any issues with it, feel free to contact me!

Thanks!


Edit: For some reason, once I enabled the plug-in... look what happened to my script editor!


It autocompletes, reads out classes, even autocompletes objects that exist in the scene!
Pretty cool accidental discovery!

No comments:

Post a Comment