Extrude depth by equation possible?

Is there a way to specify an equation variable to specify anextrude length? I don't see how to do it, but I imagine it must bepossible.SolidworksParts And Features