Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

The prepared optimisation 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 has have to be chosen and furthermore the export unit system has to be selected.

...

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

...

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

...

After opening the power shell 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-737572749054\runGD_Engine.bat'

With Enter the optimization start can be submittedstart of the optimisation is initialised.

...

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

...

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

...

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

...

After this the post process Post Processing can be used as usual.

...

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

View file
nameBookshelf_Command_line.zip