I have a (n x m) array of diode sources. My optical simulation includes a sweep of n and m. However within the ZOS-API (python) i don´t seem to find this attribute in the diode source object.
Does someone know how to access these variables?
I have a (n x m) array of diode sources. My optical simulation includes a sweep of n and m. However within the ZOS-API (python) i don´t seem to find this attribute in the diode source object.
Does someone know how to access these variables?
Best answer by Benjamin.N
Hi Jonasz,
according to the ZOS-API syntax help (see “Programming” tab in Zemax) the attributes are called “NumberX” and “NumberY” (which is slightly different from the GUI: “Number X’”).
Best regards
Benjamin
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.