The Mechanical application enables you to execute custom functionality that is not included in a standard Mechanical application menu entry via its feature. The functionality is defined in a macro - a script that accesses the Mechanical application programming interface (API).
Macros can be written in Microsoft's JScript or VBScript programming languages. Several macro files are provided with the ANSYS Workbench installation under \ANSYS Inc\v182\AISOL\DesignSpace\DSPages\macros. Macros cannot currently be recorded from the Mechanical application.