Command Line Optimisation

Next to the possibility to start the optimisation from MSC Apex Generative Design User Interface, it is also possible to start an optimisation via command line (PowerShell) using the following information:

& 'C:\Program Files\MSC.Software\MSC Apex Generative Design\2021-803100\runGD_Engine.bat'

For this the in MSC Apex Generative Design prepared optimisation Scenario can be exported into a separate folder. In this folder all necessary files for the optimisation are saved - the STL-files as geometry input and the configuration file. The configuration file contains all information necessary for the algorithm to run through the optimisation and can be edited to change the optimisation parameter. Further information regarding the configuration file here.

By executing the MSC Apex Generative Design Engine via command line inside this folder the optimisation can be done without any graphical user interface. The optimisation results are saved in the same folder as the input data and can be imported back into MSC Apex Generative Design to use the Post Processing.

How a command line optimisation can be executed is described here.

Command Line Optimisation on Linux

You can run a command line optimisation on Linux using the following information:

/opt/MSC.Software/MSC_Apex_Generative_Design/2021-803100/runGD_Engine.sh -c config.json

By executing the MSC Apex Generative Design Engine via command line inside the folder the optimisation can be done without any graphical user interface. The optimisation results are saved in the same folder as the input data and can be imported back into MSC Apex Generative Design (Windows GUI) to take advantage of the Post Processing.