You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docstring states that the default type is "HFSSDrivenAuto" but the default type is actually None`. When Noneis then passed toself._create_setup()`` the default type is "HFSSDriven".
Note also that autosweep in the file core\modules\setup_templates.py used the
"LinearStep" sweep type which differs from the HFSS default. This should also be changed to match
the default values of
"RangeType": "LienarCount"
"RangeCount": 501
Steps To Reproduce
This is easy to reproduce. Just create an HFSS setup with no arguments.
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
All dependencies are installed.
The text was updated successfully, but these errors were encountered:
\ansys\aedt\core\modules\setup_templates.py
- Change autosweep default from "LinearStep" to "LinearCount" to match the default behavior of HFSS.
- Use "RangeCount": 501
\ansys\aedt\core\hfss.py
- Update docstring errors for create_setup()
\ansys\aedt\core\application.py
- Change default setup from 1 to 0 for HFSS where appropriate.
\ansys\aedt\core\application\analysis.py
- Correct an error that would always use an auto-generated name for the setup.
Before submitting the issue
Description of the bug
The docstring states that the default type is "HFSSDrivenAuto" but the default type is actually
None`. When
Noneis then passed to
self._create_setup()`` the default type is "HFSSDriven".Note also that
autosweep
in the filecore\modules\setup_templates.py
used the"LinearStep" sweep type which differs from the HFSS default. This should also be changed to match
the default values of
Steps To Reproduce
This is easy to reproduce. Just create an HFSS setup with no arguments.
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
All dependencies are installed.
The text was updated successfully, but these errors were encountered: