Report#
- class ansys.tools.common.report.Report(additional=None, ncol=3, text_width=80, sort=False, gpu=True, ansys_vars=None, ansys_libs=None)#
Bases:
scooby.ReportGenerate a
scooby.Reportinstance.Parameters#
- additionallist(ModuleType), list(str), default: None
List of packages or package names to add to output information.
- ncolint, default: 3
Number of package-columns in the HTML table. This parameter is applicable only has effect if
mode='HTML'ormode='html'.- text_widthint, default: 80
Text width for non-HTML display modes.
- sortbool, default: False
Whether to alphabetically sort the packages.
- gpubool, default: True
Whether to gather information about the GPU. While the default is``True``, if rendering issues are experienced, pass
Falseto safely generate a report.- ansys_varslist of str, default: None
List containing the Ansys environment variables to report on. For example,
["MYVAR_1", "MYVAR_2" ...]- ansys_libsdict {strstr}, default: None
Dictionary containing the Ansys libraries and versions to report on. For example,
{"MyLib" : "v1.2", ...}.
Overview#
Get information regarding the Ansys environment and installation. |
Print out the report. |
Import detail#
from ansys.tools.common.report import Report