Macro - Edit part dimensions via input box

Hi All,

I don't have any experience with programming so could someone produce the code for the below scenario please.

I would like a code to ask the user for the required dimensions of a part upon inserting it into a assembly.

Eg; If I insert a cylinder, I would like the box to ask for the height and diameter. Then generate the component.

Cheers

SolidworksApi macros