VirtualCompliance#

class ansys.aedt.core.visualization.post.compliance.VirtualCompliance(desktop, template)#

Provides automatic report generation with pass/fail criteria on virtual compliance.

Parameters:
desktop:class:ansys.aedt.core.desktop.Desktop

Desktop object.

templatestr

Full path to the template. Supported formats are JSON and TOML.

Methods

VirtualCompliance.add_aedt_report(name, ...)

Add a new custom aedt report to the compliance.

VirtualCompliance.add_specs_to_report(folder)

Add specs to the report from a given folder.

VirtualCompliance.create_compliance_report([...])

Create the Virtual Compliance report.

VirtualCompliance.load_project()

Open the aedt project in Electronics Desktop.

Attributes

VirtualCompliance.add_project_info

Add project information.

VirtualCompliance.add_specs_info

Add specification information.

VirtualCompliance.parameters

Parameters available in the Virtual compliance.

VirtualCompliance.project_file

Project file.

VirtualCompliance.project_name

Project name.

VirtualCompliance.reports

Reports available in the virtual compliance.

VirtualCompliance.specs_folder

Add specification folder.

VirtualCompliance.template_name

Template name.

VirtualCompliance.use_portrait

Use portrait.