Skip to main content

Hi,

I am working on a tolerance script that uses different surface optimizations (thickness as well as tilts) on its components.

I am using the CPAR and COMP commands, but there is a constraint in the maximal optimization range. Is there a way to set this range in the script? I can try to use the merit function to set the limits, but seems too convoluted.

Can you enforce the constraint in the tolerancing merit function? The only other thing I can think of is using a solve (including a ZPL solve) in the Lens Data Editor as a way of enforcing the constraint.


Thank you very much Mark.

I was considering constraints in the merit function, but a solve can be a more elegant solution.


Reply