.step macro

Hi guys,

I need a little help.

I'm new to the macro system and I need a macro that can save my parts and assemblies as .step with the original file name of the part/assem

and to save them in the same location as the assembly/part.

We have a local server that we use and for each new design we have separate folders, i need the macro to be able to save the .step file in the same location for each individual assem/part.

I tried recording one myself but it ended up saving all the .step files in the same director.

Thank you!

SolidworksApi macros