Select the .dwg/.dxf file to convert:
Choose File
Convert
Download sample code
Read more about ODA Drawings SDK