Execute maxscript or python in 3ds Max from Maya

I am wondering if there is a method to connect 3ds Max and Maya. For example, I want to use a Maya plugin to send a maxscript to 3ds Max to import an fbx in 3ds max. I think it just like send to Max function in Maya, and it seems like the OneClickDispatch does similar work, but I do not how OneClickDispatch sends the script to 3ds max and execute it. Does anyone know how to do it?

Thanks!

MXSPyCOM is what you want. It’s an external tool that communicates with a running 3ds Max instance over a COM connection to execute scripts remotely. You can get it from the TechArtists.Org Github repository

2 Likes