title: Open .dwg Using SolidWorks API
body: <p>I am trying to open a .dwg file in SolidWorks 2015. I have been succsesfully able to open a .slddrw by using</p>
  
  <pre><code>IModelDoc2 doc = swApp.OpenDoc6("C:/Temp/BlankDraw.SLDDRW", (int)swDocumentTypes_e.swDocDRAWING, (int)swOpenDocOptions_e.swOpenDocOptions_Silent, "", 0, 0);
  </code></pre>
  
  <p>The issue becomes when I replace the .slddrw portion with a .dwg, it returns null.</p>
  
  <p>Is there a way a different way I need to look into to open the .dwg?</p>