validate_full_design#

Hfss.validate_full_design(design=None, ouput_dir=None, ports=None)[source]#

Validate a design based on an expected value and save information to the log file.

Parameters:
designstr, optional

Name of the design to validate. The default is None, in which case the current design is used.

ouput_dirstr, optional

Directory to save the log file to. The default is None, in which case the current project path is used.

portsint, optional

Number of excitations (sum of modes) that is expected. The default is None.

Returns:
list of str

List of all the validation information for later use.

bool

True if the validation was successful, False otherwise.

References

>>> oDesign.ValidateDesign

Examples

Validate the current design and save the log file in the current project directory.

>>> validation = hfss.validate_full_design()
PyAEDT INFO: Design Validation Checks
>>> validation[1]
False