DXF macro

Hello,

Does anyone have a macro for DXF?

I just want to click on an assembly/part face, and automatically generate a 1:1 DXF.

Currently, I'm going through 5 parts, and i have to select a face, file, save as, select dxf, select a saving location, click accept. I'm hoping to minimize this soon, because I'll be doing around 30 parts like this.

Any tips/help on this subject is greatly appreciated. If possible, can someone guide me to how to create such a macro? (I want to learn how to program these kinda stuff)

SolidworksApi macros