getting input through visual basic for the equations

Hi all.

I am very new to solidworks macro and API.

My task is to create a parametric drill model.

I have done that through the equations editor where I have some 12 variables to be modified.

I would like to create a user interface using visual basic and link the values to the equations editor.

so when the model is opened and then the macro is run and the values are entered, the required drill has to be generated.

among the variables, some are used to adjust the drill shape.

So once the values are entered and the drill is generated, the user should be able to alter the values and regenerate the model.

for the first task, i would like to know how to link the values that i obtain from visualbasic form to my equations in solidworks 2010.

thanking you all in advance

with best regards

ashwin

SolidworksApi macros