What I have been researching with no luck, is how to get Autodesk Maya to communicate though the web on the localhost ip (preferably TCP). My goal is to control maya with a quick java application I wrote to manipulate curve selecting and such. If there is a way to do it in mel scripting, that would be awesome.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Maya includes the commandPort
command which will listen for incoming connections on a socket and run either mel or python scripts on the incoming data
examples: http://fredrik.averpil.com/post/55507118045
Opening a commandPort in standalone maya for unit testing
use external python script to open maya and run another script inside maya