Macro to Export 3 views of part (all parts in assembly, running macro from assembly) to dxf of scale 1:1

Hi Friends,

I have to export the three main views of wooden parts to dxf with 1:1 scale.

So, I require a macro to do so. I need guidance to create a macro.

If I run the macro from Assembly containing the parts, the macro should save the 3 views of parts to dxf.

SolidworksApi/macros