TAGGED: aedt, hfss, python-scripting
-
-
November 7, 2025 at 9:14 am
ancan9360
SubscriberHello first of all, thank you for your quick responses on other issues. I’m using PyAEDT 0.22.0 (I updated today) with HFSS 2025 R2 (full version installed).When I open HFSS manually on campus, it correctly uses the full license from the network server.However, when launching via PyAEDT, it always opens in student version mode, even when I explicitly set student_version=False . If I add a version parameter version="2025.2" or 25.2 or 252 it fails. Additionally, if I remove the version argument entirely, PyAEDT still launches HFSS 2024 R2 Student, despite student_version=False . The same machine can open HFSS 2025 R2 manually without any license issues.
Is PyAEDT 0.22.0 currently incompatible with HFSS 2025 R2, or is there a known way to force it to use the full campus license instead of the student version?
Code :Â
from ansys.aedt.core.hfss import Hfsshfss = Hfss(project = "New_Project", design = "HFSS_Design_1", solution_type = "Modal", student_version=False, version=252)ÂOutput:ÂPyAEDT ERROR: Specified version 2025.2 is not installed on your system on __init__
PyAEDT ERROR: Method arguments:
PyAEDT ERROR: Â Â version = 252
...
PyAEDT ERROR: __init__() should return none, not 'bool' on __init__
PyAEDT ERROR: Method arguments:
PyAEDT ERROR: Â Â project = New_Project
PyAEDT ERROR: Â Â design = HFSS_Design_1
PyAEDT ERROR: Â Â solution_type = Modal
PyAEDT ERROR: Â Â version = 252
Traceback (most recent call last):
 File "new_dc.py", line 4, in
  hfss.modeler.model_units = "mm"
AttributeError: 'Hfss' object has no attribute '_odesign' -
November 7, 2025 at 12:14 pm
ancan9360
SubscriberProblem solved. There was only the student version in the system variables, so I had to add this as well.
-
- You must be logged in to reply to this topic.
- Lumped Port Deembed
- HFSS libnvidia-ml.so too old or could not be found – Warning in slurm job output
- Optimizing Via Impedance in Ansys HFSS 3D Layout Using Geometric Parameter Sweep
- Hfss 3D pcb via capped and filled with epoxy
- AEDT Natural Convection with default correlation is failing solver initializatio
- STL Import Errors in HFSS After Cleaning in SpaceClaim
- Three-Phase Voltage Imbalances in dual stator electric generator
- Calc Error in Field Calculator after PyAEDT Analyze
- import file autocad 3d
- Co-simulation in Q3D, Icepak – meshing problem
-
4177
-
1487
-
1363
-
1194
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.