check#
- ansys.mapdl.core.cli.check.check(ip='127.0.0.1', port=50052, timeout=10)#
Collect diagnostic information from a running MAPDL instance.
- Parameters:
- Returns:
dictNested dictionary with the
connection,information,geometry,mesh, andpost_processingsections, as returned byansys.mapdl.core.information.get_mapdl_info().
- Raises:
MapdlConnectionErrorWhen no MAPDL instance can be reached at the given address.
- Return type:
Examples
Report the version of the instance running on the default port:
>>> from ansys.mapdl.core.cli.check import check >>> check()["information"]["mapdl_version"] '2021 R2'