Dynamic Component in One Direction Axis

Hi All,

I would like to ask if anyone knows a macro for how lock a components dimensions in one direction, but make it flexible in the opposite direction.

Please find attached the .skp model.

I would like the Microwave Shelf to remain at a depth of 61cm (610mm) when the depth is anything above 59cm (590mm), and then would like the Microwave Shelf to stay flush with the End Panels LH & RH when the depth is anything less than 59cm (590mm).

The Oven Drawer Carcass I will change to match the Shelf as this also protrudes out the back when the depth is less than the mentioned 59cm.

Any help would be greatly appreciated.

Regards

Wolfgang from NZ

1.5 Oven and Microwave Tower 2 Doors and 1 Drawer.skp (285.0 KB)