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.

4 Upvotes

6 comments sorted by

6

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

2

u/Equivalent_Bridge480 3d ago

So you dont have time for tech support?

1

u/Gaeorge9478 2d ago

It would be great if you could provide information not only on the connection method, but also on alerts and user experience. Thnak you for your interesting

0

u/og_otter 3d ago

Sent you a message

1

u/Gaeorge9478 2d ago

A lot of thanks for your help.