Referencing cosmetic thread pitch

Hi,

I'd like to reference the pitch of a cosmetic thread in the dimension of another sketch. I can see the diameter being referenced, but never the pitch.

The idea is that if the thread changes the associated undercut will automatically update too.

Is there a special way to do this other than setting a static Global variable or similar?

If its useful I'm using Solidworks 2020.

Thanks

SolidworksSketching