Macro to SaveAs a Part Configuration

Hi,

1. I need a macro to SaveAs a >non-saved drawing< to a location in format .slddrw and .dxf

2. Macro from attach modified to save in dxf, work better, but when i change configuration from drawing and i run it again, replace the drawing even if i change the name, and i don't want this. I want separately drawing!

From example, I need like this: I make a drawing (It is not yet saved), i run the macro and in the location selected must be one .slddrw file and one .dxf file.... If i change the configuration of drawing and run the macro again, should be a new .slddrw file and a new .dxf file..4 files in total!

SolidworksApi macros