What is a macro What are the macros provided with Flux?

Yann_Le_Floch
Yann_Le_Floch
Altair Employee
edited November 2021 in Altair HyperWorks

The macros enable the user to regroup the frequently used commands in an extension integrated into the software.

You can build up a macro instead of manually executing a series of repetitive actions in Flux, which you will then be able to call regularly.

A macro is interesting because it can encapsulate within a new command a series of repetitive operations and thus improve the quality and efficiency of the user-software interaction.

Concretely, a macro file (*.py) is a text file, which defines the macro-function in the PyFlux language. It receives (upon entry) one or more parameters and executes (upon exit) a series of predefined actions.

It is possible to use the macros provided with Flux or to create your own macros.

The list of macros provided with Flux is available in C:\Altair\Extensions\Macros.

Tagged: