Debugger

Create, edit, and debug Python scripts in Compose.

From the Developer ribbon, select the Debugger tool.
Figure 1.


This launches the Compose debugger from within HyperMesh, opening an instance of Compose with no file loaded.

From the main tool, click the file browser icon to select a Python file to debug, which is automatically loaded into the Compose instance when launched.
Figure 2.


Important: You must have Compose installed to use this tool. The Compose license draws five Altair Units, and levels out with HyperWorks units.

Compose runs as a standalone process and is automatically linked to the HyperMesh application.

By default, the Compose version that is used is the version that is installed in the same location as HyperMesh.

To use a version of Compose that is installed in a different location:
  • Set the COMPOSE_ROOT environment variable to the directory that contains the compose.bat file for the required version/installation.

If this environment variable is set, it supersedes the root folder location. In other words, the Compose installation specified by COMPOSE_ROOT, if set, will be used even if Compose is also installed in the same location as the version of HyperMesh that is being used.

For version 2025.1, this feature is available on Windows only.