Enter values in userform to populate global variables within a part

Hi All,

I'm new to the forum and require some userform assistance. I have little experience in API and hope someone could help.

I have my generic part complete with all of the Global Variables and equations correctly mapped. I have linked the global variables to the custom properties of the part however I would now like it to be more user-friendly, so the user can fill out the different dimensions and variables and the part will rebuild itself accordingly.

 

I do not want to use a Driveworks but rather a Userform.

All variables that i want to be able to enter in the userform are in the custom properties.If someone could help me on this that would be great. 

I've attached the part for your reference.

Thanks Michael

SolidworksApi/macros