Skip to content

Validate #141 fix: report curve line-width styling on HFSS 2022 R2+ #190

Description

@zlatko-minev

Context

PR #189 fixed the hfss_report_f_convergence line-width styling bug (#141). The root cause was that set_property was called with a list of all mode curves in a single ChangeProperty call, but HFSS only accepts one curve per call (confirmed against PyAEDT source). The fix loops through each curve individually.

The fix matches PyAEDT's verified approach and is logically sound, but we don't have a live HFSS 2022 R2+ instance to test against in CI.

What we need

If you have access to Ansys HFSS 2022 R2 or later, please verify that hfss_report_f_convergence now correctly applies line width styling to all mode curves in the convergence report:

import pyEPR as epr  # version >= 0.9.5 once PR #189 is merged

pinfo = epr.ProjectInfo(...)
eprd = epr.DistributedAnalysis(pinfo)

# Run EPR and check that the convergence report shows thick lines for each mode curve
fig = eprd.hfss_report_full_convergence()

Expected: all mode curves in the HFSS report window show Line Width = 3. Previously on 2022 R2 this silently failed and curves used default width.

Acceptance

A comment confirming "works on HFSS 20XX RX" or a screenshot of the report is sufficient to close this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions