The find_mechanical.py module#

Summary#

cli

Use the CLI tool to find the Mechanical version and location.

Description#

Cli for finding mechanical installation.

Module detail#

find_mechanical.cli(version: int, path: str | None = None) tuple[int, str]#

Use the CLI tool to find the Mechanical version and location.

Parameters:
version: int

Ansys version number.

path: str, optional

Optional path to the Ansys installation directory. eg: “usr/ansys_inc/v251/”