Showing results for 
Search instead for 
Did you mean: 

How to save as a .sat file? Solid Edge freezes, is it a bug? Any workaround?

Valued Contributor
Valued Contributor


I am having a problem when saving as a .sat file through the API. Theprogram freezes on SaveAs (however an empty .sat file is created).

It looks like this used to be a problem with the UI too, as referencedhere:

I guess the problem was fixed for the UI but not for the API?

Do you have any suggestions for a workaround or do you know how to savea file as a .sat file through the API?

I tried asking SE to save the sat file, then waiting a minute and killing the SEAcisTrans process, and that works except the .sat file is almost always blank.

The simplified code below should reproduce the problem (once you replacethe file names).

Thanks, I appreciate your help,



SolidEdgeFramework.Application mSE =(SolidEdgeFramework.Application)Activator.CreateInstance(Type.GetTypeFromProgID("SolidEdge.Application"));mSE.Documents.Open(@"C:\Path\File.asm"); ((SolidEdgeFramework.SolidEdgeDocument)mSE.ActiveDocument).SaveAs(@"C:\Path\File.sat"); //Program freezes on above line indefinitely




Posted by: Misa Takaki
Post date: 12/22/2011 10:48:36 AM