AnsweredAssumed Answered

Exporting simulation study to a .geo file

Question asked by Bartosz Dobrzelecki on Mar 24, 2016

Hello!

 

i am trying to export a simulation study to a .geo file (basically to automate the following UI operation (with auto-generated file names):

 

 

I am not sure if this is available from the API. I use

            errCode = study.ExportSimulationStudy(

                "c:\\temp", "filename.geo",

                (int) swsCosmosExportOption_e.swsExportFEMOnly, 0, 0,

                (int) swsStudyExportOption_e.swsStudyExportOption_Cosmos,

                (int) swsLinearUnit_e.swsLinearUnitMillimeters);

And I get the following set of files:

     filename.geo.ANS

     filename.geo.GEN

     filename.geo.MAS

 

Is it possible to save a simulation study to a .geo file using SolidWorks API?

 

Regards,

Bartek

Outcomes