Is Hyperhydrosis a genetic disorder and is the gene likely to carry on to offspring?

Hi doctor, so I’m about to get married and recently my fiancé told me that he has a sweating problem in his hands, feet, and arm pits and he was diagnosed with hyperhydrosis. He has been taking oral medicine but we recently went to a dermatologist to find a long term option. Can the oral medicine that is consumed to treat hyperhydrosis have a great affect on sexual performance? Also, can it affect fertility? Is Hyperhydrosis a genetic disorder and is the gene likely to carry on to offspring?

Age: 19
Female
Medications: Pill for Hyperhydrosis
Yes
General Information: Dry mouth, dizziness, blurred vision.