macro for loading files to solid works and save them to .xt and .sldprt

Hello

I'm looking for a solution/macro for loading files .cadpart to solid works and save them to .xt and .sldprt automatic.

Do you have such a solution?

Thank you in advance for any tip.

SolidworksApi/macros