How do you get Maya to communicate through the loc

2019-05-21 13:17发布

问题:

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



标签: maya autodesk