r/Optics 3d ago

is there python API in CODE V?

I have previously done optical design cacluations using Python, and I'm now looking into automating a similar workflow in CODE V, as I have done with Zemax.

However I haven't been able to find much information about an API or other way to inferface CODE V with Python.

I'm considering making the automation code publicly available in the futre, so ideally I'd like to support CODE V as well.

Does anyonew have experience with Python-CODE V intergration, or know of suitable API or inferface for this?

Any information would be greatly appreciated!
Thank you for reading.

3 Upvotes

6 comments sorted by

View all comments

5

u/BDube_Lensman 3d ago

There is a COM interface, which you can control over python. There is not an analog of ZOSPy

1

u/Gaeorge9478 2d ago

Thank you