Need Macro to export dxf in batch

Hi All,

I need to export sheet metal FLAT_PATTERN drawings to DXF, have made Flat_Pattern as second sheet in sheet scale 1:1 .

I want macro which can export only second sheet in batch with same document name.

With Task-scheduler file name was remain same.

Thanks

Priyank

SolidworksApi macros