I have a bunch of simulation results that I want to save as JPG for CDR and .analysis.easm so that I don't have to load the full models all the time. The Simulation API Help seems a little sparse, so I am hoping the forum can help.
Using regular function calls, I tried writing a macro with these two lines:
Return1 = swModel.SaveAs(Built_name + ".jpg")
Return2 = swModel.SaveAs(Built_name + ".analysis.easm")
In my save directory, I get the JPG of my stress plot just fine. However I only get a regular EASM with .analysis in the file name. Is there a different function call that will emulate a user selecting Plot Tools => Save As => Analsysis.easm?
SolidworksApi macros