I experienced this erro on Python 3.10 using comtypes 1.2.0
---------------------------------------------------------------------------
ArgumentError Traceback (most recent call last)
Cell In[12], line 9
7 factors = np.random.rand(nC)
8 name = 'Combination {}'.format(i+1)
----> 9 axm.LoadCombinations.Add(name, ctULS1, factors, caseIDs)
ArgumentError: argument 3: : Argument [0.43154583 0.00095536 0.69861531 0.85974925 0.40414348] appears to be a numpy.ndarray, but comtypes numpy support has not been enabled. Please try calling comtypes.npsupport.enable_numpy_interop() before passing ndarrays as parameters.
I experienced this erro on Python 3.10 using comtypes 1.2.0