Skip to main content

I understand that the min and max values are ignored if user script is selected when doing tolerancing but I dont understand why Zemax could not take tham into account.



Is it something that is going to be solved in future or is there any good reason for this ?



I am wondering if I should go from python to code the tolerance runs because of this...



Thank you a lot for your answer.



 



Regards



 



Audrey

Hi Audrey



The reason is that a user-script uses a merit function as a criterion. So the software doesn't modify your existing merit function.



When you use a 'built-in' criterion, the software creates a merit function and add some boundary operands at the top that are the compensator boundaries. You can have a look at this if you save one Monte Carlo file.



So when the criterion is a merit function, all boundaries are user-defined.



Sandrine


Hi Sandrine,



Looking at the Monte Carlo files I understand it adds the PMLT etc openrands so I can simply add them in my merit function file.



Thank you a lot for your help !



 



Audrey


No problem. Thank you.


Reply