Assembling zSetField return tuple in Opticstudio 17.5 broken
MaximilianHoffmann opened this issue · comments
Maximilian Hoffmann commented
Those lines seem to be broken or they do not match the Zemax Response, fd._make and the length of rs don't match, for n=0 and n>0, this results in a error about the input argument number.
Setting the fields works.
blueshuttle commented
You can still use zSetSystemProperty(self, code, value1, value2=0) instead, where code = 102, 103 for field x and y