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 using the on the example of the Bookshelf. For the setup of this model have a look at the tutorial Generative Design - Bookshelf.

The already set up optimization 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 the job can be namend, 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 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 Windows folder. Another option is to start the PowerShell and then navigate to the optimisation folder.

...

Pfad Anpassen

Image RemovedImage RemovedImage Removed

...

To start the optimization a powershell needs to be opened. This can either be done by starting the powershell and navigating to the optimzation folder or directly in the optimization folder (shift+right MB). The algorithm is started using the command ….

...

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-749054\runGD_Engine.bat'

With Enter the start of the optimisation is initialised.

...

In the following the status of the optimisation is displayed in the PowerShell and can be tracked this way. The PowerShell needs to stay open until the optimisation is done. By closing the PowerShell the optimisation 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 optimisation 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 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