0 Replies Latest reply on Mar 24, 2016 9:25 AM by Bartosz Dobrzelecki

    Exporting simulation study to a .geo file

    Bartosz Dobrzelecki

      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