I've configured maxconnect in PyCharm by duplicating 3dsmaxpy.exe as python.exe.
This resolves the issue as described on the Autodesk forums
The script mostly fails to find the mini listener except when using debug:
running from the command line fails 100% of the time.
running run.py works around 50% of the time.
debugging run.py works 100% of the time
File "_ctypes/callbacks.c", line 314, in 'calling callback function'
File "C:\Dev\bin\YCDIVFX_MaxPlus-master\packages\maxconnect\tomax.py", line 197, in _getWindows
attachThreads(gMainWindow)
File "C:\Dev\bin\YCDIVFX_MaxPlus-master\packages\maxconnect\tomax.py", line 176, in attachThreads
thread = GetWindowThreadProcessId(hwnd, 0) #max thread
WindowsError: exception: access violation writing 0x00007FFF00000000
Could not find MAXScript Macro Recorder
Process finished with exit code 0
I've configured maxconnect in PyCharm by duplicating 3dsmaxpy.exe as python.exe. This resolves the issue as described on the Autodesk forums
The script mostly fails to find the mini listener except when using debug: