xzos / pyzos

Standalone Programming Interface for Zemax OpticStudio COM API in Python
MIT License
22 stars 11 forks source link

com_error: (-2147221005, 'Invalid class string', None, None) #12

Open goldengrape opened 3 years ago

goldengrape commented 3 years ago
osys = zos.OpticalSystem()

get this error message:

com_error: (-2147221005, 'Invalid class string', None, None)

and if I run

EnsureModule('ZOSAPI_interfaces', 0,1,0)

I also get -2147221005 error.

what I tried: