Versions Compared

Key

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

...

All data can be automatically integrated into MSC Apex Generative Design by using a macro . The hotkey for executing this macro is or a script.

Macro

With the macro the database can be imported manually by executing the macro e.g. with the hotkey ctrl+F1. The material data is imported and a material can be chosen.

View file
nameMaterial_Database_Macro.py

To use this macro for the first time, download the file above and save it in your workspace (or any other folder). To start this macro inside MSC Apex Generative Design, go to Macro → Play Macro. After the macro is played once the shortcut can be used.

...

With the scripting capabilities of MSC Apex Generative Design it is furthermore possible to execute the Material Database script automatically with every new model.

Script

In Options → Application Settings → Scripting & Customization a script can be set up for Post Model New. The Script Function Name has to be the same as in the script (in this case Material_database). Under Script File Name the script below has to be selected.

View file
nameMaterial_Database_Script.py

Once this is activated the script will be executed for every new model.

...

The material database script can be edited with every text editor, thus material properties can be changed or added.

Metals (Selective Laser Melting)

...