I am totally new to OpticStudio, and I am trying to follow the PPG example to get started. However I am encountering this error when try to run the script:
Traceback (most recent call last):
File ".\PPGsimulation.py", line 230, in <module>
volPhysData.ModelSettings._S_DLLDefinedScattering.MeanPath = meanPath
AttributeError: 'NoneType' object has no attribute 'MeanPath'
I am experienced in Python, but don’t know the inside of the API, so it’s difficult for me to debug. I would appreciate if you can give me a pointer.
OpticStudio Pro Ver 22.2
Python 3.8 (Conda environment)
Windows 10 (virtual machine, fresh install)
Best answer by Csilla Timar-Fulep
View original