The ansys.tools.path library#

Summary#

applications

Application plugin for ansys-tools-path.

misc

Miscellaneous functions used by ansys-tools-path.

path

save

Convenience CLI to save path for ansys application in configuration.

change_default_dyna_path

Change your default Ansys LS-Dyna path.

change_default_mapdl_path

Change your default Ansys MAPDL path.

change_default_mechanical_path

Change your default Mechanical path.

clear_configuration

Clear the entry of the specified product in the configuration file

find_dyna

Searches for Ansys LS-Dyna path within the standard install location

find_mapdl

Searches for Ansys MAPDL path within the standard install location

find_mechanical

Search for the Mechanical path in the standard installation location.

get_available_ansys_installations

Return a dictionary of available Ansys unified installation versions with their base paths.

get_dyna_path

Acquires Ansys LS-Dyna Path from a cached file or user input

get_latest_ansys_installation

Return a tuple with the latest ansys installation version and its path

get_mapdl_path

Acquires Ansys MAPDL Path:

get_mechanical_path

Acquires Ansys Mechanical Path

get_saved_application_path

save_dyna_path

Find Ansys LD-Dyna’s path or query user.

save_mapdl_path

Find Ansys MAPDL’s path or query user.

save_mechanical_path

Find the Mechanical path or query user.

version_from_path

Extract the product version from a path.

change_default_ansys_path

Deprecated, use change_default_mapdl_path instead

find_ansys

Obsolete method, use find_mapdl.

get_ansys_path

Deprecated, use get_mapdl_path instead

save_ansys_path

Deprecated, use save_mapdl_path instead

Description#

tools to find/cache installed Ansys products.

WARNING: This is not concurrent-safe (multiple python processes might race on this data.)

Module detail#