Skip to content
Discussion options

You must be logged in to vote

What OpticStudio version do you use?

The constants in zospy.constants are defined when loading the ZOS-API (so when creating an instance of zp.ZOS). Which constants are available depends on your OpticStudio version. The layout export tools are only available in OpticStudio 2024 R1 and later, and so are the Tools.Layouts constants.

I'm curious what causes this, because running Simple thick lens.ipynb should not result in this exception.
For older OpticStudio versions, the 3D viewer part is skipped. I would like to know which OpticStudio version you are using, so I can further debug this. Furthermore, can you add more context? Which cell raises this exception (I suppose it's cell 9)? And di…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@crnh
Comment options

crnh May 28, 2025
Maintainer

Answer selected by crnh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants