Usually I would be able to use COMP to adjust the air-gap thickness between 2 surfaces as the tolerance compensator. For example, the back focus distance.
However, this time I want to have the compensator adjust the position of a lens element. The real world application being mechanically shifting the position of this lens by means of a motor/screw, while keeping the overall track length same.
An example of what I want to achieve in zemax would be. Thickness of SURF4 is the compensator. If this thickness of SURF4 is increased by 1mm by compensation action, then SURF6 should be reduced by 1mm accordingly.
Could something like that be scripted or done?
Thanks!