a plugin for sublime-text 2, you can send the selected code (or all) to maya 安装 将sublime-maya.py文件放置于sublime的User文件夹下,比如C:\Users\muyanru\AppData\Roaming\Sublime Text 2\Packages\User (可通过sublime执行菜单 Preferences -> Browse Packages...跳转到目录) ...
To send a snippet, simply select some code in a MEL or python script, and hitCtrl+Return, or right click and choose "Send To Maya". A socket connection will be made to a running Maya instance on the configured port matching MEL or python, and the code will be run in Maya's environ...
however, is in being able to send an email automatically from a script. I'll be doinganother postwhere I use this in a script to notify me when something has changed on my system. For now though,
Runmain.pythroughmayapyorpythonexternally Click theconnectbutton to establish streaming connection Use the tool like an external script editor Features code editor with syntax highlighting and line counter save/open script execute selected script or all ...