I saw long time ago swp file for part creation i.e. plate with holes.
After start of macro, I've been asked for all dimensions and quantity of holes stem by step.
I saw that file on some of forum with parts for engineers, but I don't remember which forum was that.
1. Find the dimension you want to modify
2. Replace it with "myDim"
3. in the line above, insert :
For example, to change the interior diameter of the hole on the left:
Although in my opinion, trying to understand the structure of this swb file and modifying it to fit your needs, is going to be a headache.
For a more easy way, try : 2017 SOLIDWORKS API Help - Create Extrusion Feature Example
and add some InputBox there.