Global variable to set helix parameters

I have two parts that are assembled with a non standard thread.  I want to define the thread parametrically using a variables / equations file.  However, I can't seem to use global variables in the Helix / Spiral definition.

Is there a way for me to do this?

I am using Solidworks 2024.