How do you get Maya to communicate through the localhost IP?

半世苍凉 提交于 2019-12-07 19:10:32

问题


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



来源:https://stackoverflow.com/questions/30517443/how-do-you-get-maya-to-communicate-through-the-localhost-ip

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!