-
|
Running I used Where are these constants defined? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
What OpticStudio version do you use? The constants in I'm curious what causes this, because running |
Beta Was this translation helpful? Give feedback.
What OpticStudio version do you use?
The constants in
zospy.constantsare defined when loading the ZOS-API (so when creating an instance ofzp.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 theTools.Layoutsconstants.I'm curious what causes this, because running
Simple thick lens.ipynbshould 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…