How to import a dxf file into a new part

I need some code that will import a dxf file in to a new part, can any body help me?SolidworksApi macros