如何让 Maya 通过本地主机 IP 进行通信?

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

我一直在研究如何让 Autodesk Maya 通过本地主机 IP(最好是 TCP)上的 Web 进行通信,但没有成功。我的目标是使用我编写的快速 java 应用程序来控制 Maya,以操纵曲线选择等。如果有一种方法可以在 mel 脚本中做到这一点,那就太棒了。

Maya 包含 commandPort 命令,它将侦听套接字上的传入连接和 运行 传入数据上的 mel 或 python 脚本

例子: http://fredrik.averpil.com/post/55507118045

use external python script to open maya and run another script inside maya