View Full Version : Maya talk to External Program in Python
cgcreator 03-09-2006, 05:32 PM i know how to send commands to maya through commandPort in maya... but how do i send commands from maya to an open program that im making in python...
|
|
cgcreator
03-11-2006, 05:50 AM
figured it out... has little to do with maya at all... it involves opening a socket on the python script and then creating a second python script that can send messages or command to that first python script... then its a matter of feeding commands to the 2nd python script via command line from maya with the system command(ie system("sendScript.py -c 'insert command here'"))... i not sure if this is the easiest way to solve this problem... but to each his own... just thought i would post my solution so it wasnt left open...
CGTalk Moderation
03-11-2006, 05:50 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.