General

General

Update and export mesh in batch mode

    • SolutionSolution
      Participant

      This solution includes three files in attachment: o A batch file o A Workbench journal file o The Workbench Project used to test the solution. The archive of the project should be restored before testing the solution. The batch file enables to launch Workbench and execute the Workbench journal file. In this batch file, we give the pathname of o the executable of Workbench: C:Program FilesANSYS Incv161FrameworkbinWin64RunWB2.exe o the Workbench journal file: /pathname/script.wbjn (ie : “M:/Solution/Update_and_export_mesh_in_batch_mode/script.wbjn”) In the Workbench journal file: o We open the Workbench project with the pathname : /pathname/test_mesh.wbpj (ie : “M:/Solution/Update_and_export_mesh_in_batch_mode/test_mesh.wbpj”) o The mesh is updated and saved o The mesh is exported as C:/test_mesh.msh. Please note this solution was written for a previous version but it is still valid in 2019 R1. The only hange is related to the path of the Workbench executable (RunWB2.exe): v161 should be replaced by v193

      Attachments:
      1. 2039412.zip