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?
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
Hi Benjamin,
I am still learning how to get around with the help document. Your answer was very helpful.
Looking up the ZOS-API syntax help, i´ve followed ZOSAPI → Editors → NCE → IObjectSourceDiode. As indicated, the attributes NumberX and NumberY can be found, along with other relevant ones.
Kind regards
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.