Create task to save as dxf, remove title block, dimensions, and notes?

I have EPDM, looking to create a task similar to create pdf, but instead creates a dxf. Would also like it to leave only geometry. Is that possible through the API?

Thanks in advance.

SolidworksDrawings And Detailing