add_report#
- VirtualComplianceGenerator.add_report(design_name: str, config_file: str | Path, traces: list, report_type: str, pass_fail: bool, group_plots: bool, name: str, project: str | None = None) None#
Add Com parameters computed by SpiSim into the configuration.
- Parameters:
- design_name
str Design name.
- config_file
str Full path to
cfgfile.- traces
list List of traces to compute com parameters.
- report_type
str Report Type.
- pass_failbool
Whether if to compute pass fail on this parameter or not.
- group_plotsbool
Whether if to group all the traces in the same plot or not.
- name
str,optional Name of the report.
- project
str,optional Full path to the project to use for the computation of this report. If
Nonethe default project will be used.
- design_name
Examples
>>> from ansys.aedt.core.visualization.post.compliance import VirtualComplianceGenerator >>> obj = VirtualComplianceGenerator() >>> obj.add_report( ... design_name=1, ... config_file="example.cfg", ... traces=["Box1"], ... report_type=1, ... pass_fail=True, ... group_plots=True, ... name="MyObject", ... )