ab is a fixed measuremet like a hinge etc?
do you want the measurement to stay the same or be in the same exact position on the panel?
if ab is something like a hinge slot for example. write it as a subroutine at the end of program and call it with an offset shift. that way it stays the same.
if this isnt exactly what you want try to describe a bit more detail of what your making