Is there a way to have solidworks automatically go through a folder of .DXF files and extrude the 2D sketch to a certain thickness to create 3D models of every part?

Main goal: We have a metal building software that automatically generates all .DXF files for a given project. I'm wondering if there is a way to have solidworks automatically go through the folder of .DXFs and import each of them as 2D sketches, reference and extrude to varying thicknesses, and save as a 3D .sldprt file with the same name as the original .DXF?

Dream goal: This program also has 3D coordinate information for where each part would be located to assemble the entire building. I wonder if there is a way to use the 3D parts created in my first goal and reference these 3D coordinates and automatically assemble the entire building.

SolidworksApi macros