Command Line Optimization
Command Line Optimization on Windows
Next to the possibility to start the optimization from MSC Apex Generative Design User Interface, it is also possible to start an optimization via command line (PowerShell) using the following information:
-
& 'C:\Program Files\MSC.Software\MSC Apex\…\runGD_Engine.bat' -c config.json
For this, the in MSC Apex Generative Design prepared optimization Scenario can be exported into a separate folder. In this folder all necessary files for the optimization 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 optimization and can be edited adjusting the optimization parameter.
By executing the MSC Apex Generative Design Engine via command line inside the folder the optimization can be done without any graphical user interface. The optimization results are saved in the same folder as the input data and can be imported back into MSC Apex Generative Design to take advantage of the Post Processing.
For a trouble free view of the command line output activate the color coding in your Power Shell.
Command Line Optimization on Linux
You can run a command line optimization on Linux using the following information:
/opt/MSC.Software/MSC_Apex_Generative_Desig/…/runGD_Engine.sh -c config.json
By executing the MSC Apex Generative Design Engine via command line inside the folder the optimization can be done without any graphical user interface. The optimization 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.
Configuration File Input
Please have a look at our help website for a list of configuration file inputs.
- Log in to post comments
