Hi guys!
I am working on a tolerancing analysis of an optical system that includes a beam splitter, and I have come across a coupling issue that I would like to understand better.
In the nominal configuration, all elements are centered and the system is fully aligned.

When I introduce a Y decenter of +20 mm on the beam splitter on the lens data editor, this physically displaces the element along the vertical arm of the system. As a result, the optical path length in that arm should change accordingly. A +20 mm decenter on Y should reduce the effective thickness by 20 mm, from 239.617 mm to 219.617 mm. However, Zemax keeps the thickness at 239.617 mm regardless of the decenter, which is not physically correct.

My question is: is there a way to link the Y decenter of the beam splitter to the thickness of the preceding surface, so that when the beam splitter is decentered by a given amount the thickness is automatically compensated by the same value? Ideally I would like to keep using TPAR to tolerance the decenter while having the thickness update accordingly, either through a pickup solve, a ZPL macro, or any other approach available in Zemax.
Any guidance would be greatly appreciated!
