问题描述
我一直在进行的运气研究是如何使Autodesk Maya通过本地ip(最好是TCP)上的网络进行通信.我的目标是使用我编写的用于操纵曲线选择等的快速Java应用程序来控制maya.如果有办法在mel脚本中做到这一点,那就太好了.
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.
推荐答案
Maya包含 commandPort
命令,它将侦听套接字上的传入连接并在传入数据上运行mel或python脚本
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
示例: http://fredrik.averpil.com/post/55507118045
使用外部python脚本打开maya并在maya中运行另一个脚本
这篇关于如何使Maya通过本地IP进行通信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!