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 ctrl+F1. The material data is imported and a material can be chosenor a script.

Macro

With the macro the database can be imported first manually and afterwards using a shortcut.

View file
nameMaterial_Database.py
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 and select the Material_Database_Macro.py. After the macro is played once the shortcut ctrl+F1 can be used.

...

...

Script

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

In Options → Application Settings → Scripting & Customization a script can be set up for Post Model Default. 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 every time a default model is created.

...

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

Metals (Selective Laser Melting)

...