This is just a suggestion, there are probably better ways to do it but.
Each layout gets an event sheet specific to it, to set the bigger far distance that that event sheet that goes with the layout. You can put it in as a variable in a group and have anything that needs it in that group.
This is confusing and you are probably better off writing a single function--function.getFarDistance(layoutName). Then have it return a value depending on layoutName.
yours
winkr7