Can there be a function which end condition priorities can be changed without modifying the template. For example if priority 1 end condition is for a fill batter and priority 2 is for a table drain. Over a given chainage range can a function be c...