This lesson covers opening, saving, and exporting native and non-native documents with the SolidWorks API. Many tips for using API calls are covered.
In 2012 you can use ISldWorks::ActivateDoc3 to control whether the document is rebuilt after activation. See our example “Traverse all open documents” for how to use ActivateDoc3 in combination with ISldWorks::GetDocuments to cycle through all open documents.
In lesson 3.5 you will learn how to get the current template path from the system options, removing the need to specify your template path in the macro.