Mel helps somewhat but usually the python documentation is well documented and the mel knowledge helps when converting maya commands to pythonic terms.
finally finished a set of C#, python and max scripts to establish 2 way communication between python and 3ds max (thanks blur for taking down your 3ds max/python stuff :( ). First I tried COM objects but this didn't prove practical because I had problems with multiple instances, python Qt windows never stayed on top of 3ds…
getting my hands dirty with C++ and ZScript and managed to write a C++ DLL which I can load in a ZScript with FileExecute.... which then continues to host a .NET CLR with a loaded C# dll, which then launches a Python script (we use the same C# dll from Max). C# talks to Python via ZMQ (thanks to Rob Galanakis for…
@alfalfasprossen What problems were you having with com interface and python? I have used python with the comtypes modual with great success to control Photoshop from Maya using a com interface. Check out pslink in my signature.
Thanks for the tip with the hotkey. I'll try that if sleep doesn't work. Launching processes via ZFileUtils sounds useful too, although not for my current needs. I go via my own dll for launching Python because I want to monitor the process, I have to pass a port number to Python for socket communication, I have to tell it…
Hmm? What's MRV? I'm not bothering with PyMel since I'm actually not using much MEL command syntax at all, it's mostly Python file ops so far along with API functions through the OpenMaya Python libraries for doing all the heavy lifting. There's like only two actual lines of Python MEL calls in there so far :) That said, I…