The run.py module#

Summary#

cli

CLI tool to run mechanical.

DRY_RUN

Dry run constant.

Description#

Convenience CLI to run mechanical.

Module detail#

run.cli(project_file: str, port: int, debug: bool, input_script: str, script_args: str, revision: int, graphical: bool, show_welcome_screen: bool, private_appdata: bool, exit: bool, features: str)#

CLI tool to run mechanical.

USAGE:

The following example demonstrates the main use of this tool:

$ ansys-mechanical -r 242 -g

Starting Ansys Mechanical version 2024R2 in graphical mode…

run.DRY_RUN = False#

Dry run constant.