Drawing a parametric equation using another dimension or variable

I am working on a gear and in doing that i have drawn half of the tooth using an equation driven spline.  I would like to be able to reference another dimension or variables within those parametric equations.  However when I do that it wont let me.  I want to be able to use a design table so that if i change a couple variables everything will change accordingly including my splines. 

Thank you

SolidworksSketching