How to give equations in the assembly which will be useful for changing the dimensions of the part which has multiple configurations?
Add custom properties in the assembly. Set the dimensions equal to the properties.
I'm not to sure how to do what you require but I think this might help.
Re: Configuring a Top-down Assembly from outside SW - User Input without opening SolidWorks.
Retrieving data ...