OUTDATED VERSION. Follow the link for the latest version: https://www.hexagonmi.com/MSC-Apex-Generative-Design/help

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

How to perform an optimization without the Graphical User Interface is shown on the example of the Bookshelf. For the setup of this model have a look at the tutorial Generative Design - Bookshelf.

The prepared optimization scenario can be exported from MSC Apex Generative Design via right click on the Scenario and choosing the Export option.

For the export a job name and the export folder have to be chosen and the export unit system has to be selected.

In this folder all necessary files for the optimization are saved - the stl files as geometry input and the configuration file (.GD_Engine) with all the optimization information. The configuration file contains all information necessary for the algorithm to run through the optimization and can be edited to change the optimization parameter. Further information on the structure of the configuration file here.

To start the optimization with a command line a windows powershell is needed. This powershell has to be started inside the folder. Therefore the keys shift+right mouse button have to be used inside the windows folder. Another option is to start the powershell and then navigate to the optimization folder.

After opening the powershell the GD Eninge.bat-file has to be executed. Therefore, the right path to this file has to be chosen.

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

With Enter the start of the optimization is initialized.

In the following the status of the optimization is displayed in the powershell and can be tracked this way. The powershell needs to stay open until the optimization is done. By closing the powershell the optimization is terminated.

In the exported folder an new folder will be created (Opti_datestamp_timestamp) in which all output files are saved in.

When the optimization is finished, the result files can be imported back into MSC Apex Generative Design to visualize and evaluate the results in the post processing. Therefore, choose File->Import Generative Design Results and select the result folder. Under the studies tab a new scenario with the imported files will be created. The results can be imported to an already existing Apex project or to a new blank one.

After this the post process can be used as usual. More information regarding the post processing here.

The whole MSC Apex Generative Design 2020 project with all results can be downloaded here:

  • No labels