-
Notifications
You must be signed in to change notification settings - Fork 27
Description
I'm trying to get the MXSPYCom server to execute scripts in 3ds Max 2022 (Python 3.7)
With initialize_COM_server in %appData%\Local\Autodesk\3dsMax\2022 - 64bit\ENU\scripts\startup launching from PyCharm, Notepad++ or cmd results in
C:\Users\xxxxx\MXSPyCOM>MXSPyCOM.exe -f "C:\test.py"
Unhandled exception. System.Runtime.InteropServices.COMException (0x80020006): Unknown name. (0x80020006 (DISP_E_UNKNOWNNAME))
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at MXSPyCOM.Program.execute_max_commands(String[] args, String filepath)
at MXSPyCOM.Program.Main(String[] args)
I've tried every variation of pathnames (single, double, no quotes, /, //, \ ) it's always the same result.
Is this compatible with 3ds Max 2022?