Is it possible to to generate a production file based of of a variable?

Does anybody know if it is possible to make a basic production file like this where the size is dependent on an 'x'
Say the distance between the horizontal lines is 'x'
The height of the pink box needs to be (3*x)+1)
For everytime I would start a new production file I would open this template file and change the value for 'x'.
Same goes for the length of the lines (say 'y') in relation to the length of the pink box. ('y'+1,25 in)
Hope someone knows this.
Best regards,
Ron
