Export assembly to DXF

Hey. Tell me how to export the entire assembly of sheet metal in DXF? Or export the part from the sheet metal but first determine the maximum area for if the part was built was not true. Thank.

SolidworksApi/macros