The pyedb.generic.general_methods library#

Summary#

deprecate_argument_name

Decorator to deprecate certain argument names in favor of new ones.

execution_timer

installed_ansys_em_versions

Retrieve paths of installed ANSYS EM versions.

Module detail#

general_methods.installed_ansys_em_versions() dict[str, str]#

Retrieve paths of installed ANSYS EM versions.

Scan the environment variables and return a dict of the form {version: installation_path} for every ANSYS EM release found. Versions are ordered from the oldest to the latest (latest appears last).

Returns:
Dict[str, str]

Dictionary of the form {version: installation_path} for every ANSYS EM release found.