change part configuration in assembly

i have attached reference image 

SolidworksApi/macros