Parameterized Helix

How can I set the height of a helix to be dependent on another dimension? I am trying to thread a hole that has a parameterized height and want the helix to "fit" itself to the height.

SolidworksParts And Features