-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zGetImageSimulation not working #100
Comments
Hi @andibarg , |
Thanks for your reply. |
'zGetImageSimulation' calls the method 'zGetTextFile' which always returns -1 and thus fails. This is not because of a timeout but simply because image simulation (at least in the latest versions of OpticStudio) does not support text output. How could this be fixed?
An ugly workaround is to specify an output file in image simulation and use 'ln.zPushLens(1)' to update it. Once this is done, one can retrieve the image file from the 'Zemax\IMAFiles' folder.
The text was updated successfully, but these errors were encountered: