How can I use SolidWorks APIs to implement the file conversion from SolidWorks Drawing(.slddrw) to Dwg Without installing SolidWorks?

How can I use SolidWorks APIs to implement the file conversion from SolidWorks Drawing(.slddrw) to Dwg Without installing SolidWorks?

Thank you.

SolidworksApi macros