-
-
July 12, 2023 at 3:13 am
yu jian
SubscriberWhen I was controlling hfss with Python, the following error occurred.
Script macro error: testing featurre is NOT enabled.thank you.
-
July 13, 2023 at 8:23 am
Praneeth
Ansys EmployeeHi,
Thank you for reaching out to the Ansys learning forum.
Please see if the script contains any macros and they are free from any syntax errors. Kindly go through the scripting guide available in the Help menu of the Ansys Electronics Desktop for detailed information on the supported commands and their syntax.
Best regards,
Praneeth. -
July 13, 2023 at 3:29 pm
JS
Ansys EmployeePlease use the latest Electronics 2023R2 available for download on the Ansys Customer Portal at:
https://support.ansys.com/
Â
Instead of using the legacy built-in IronPython 2.7, please use the external cPython to script the Ansys Electronics Desktop using PyAEDT:
https://aedt.docs.pyansys.com/version/stable/
Â
The PyAEDT site also contains example PyAEDT scripts and extensive API documentation.
Â
This will expands your python scripting capabilities since you can include publically available python classes and methods like numpy, pyvista, pandas, etc. in your scripts.
Â
Detailed installation instructions are available at:
https://aedt.docs.pyansys.com/version/stable/Getting_started/Installation.html
Â
Ansys PyAEDT has a public precence for submiting bugs, enhancements, and participating in the GitHub discussion forms:
https://github.com/ansys/pyaedt
Â
Additional training materials for PyAEDT is available on the Ansys Learning Hub by subscription:
https://www.ansys.com/services/ansys-learning-hub
Â
Kind Regards,
JS
Â
Â
Â
Â
Â
Â
-
- The topic ‘python-hfss error’ is closed to new replies.
- Three-Phase Voltage Imbalances in dual stator electric generator
- Link the Circuit to 3D Terminals
- Magnetic Dipole moment calculation
- Integration lines or U Axis Line for circular and rectangular ports
- Core Loss in ANSYS MAXWELL Eddy Current solution
- exporting and importing my Netlist for my external circuit
- Error of Metal Fraction in Icepak Classic.
- The unit of theta in Is*sin(2*pi*fre*Time+theta-2*pi/3)
- 2D transient simulation -torque issue
- Two way coupling for Maxwell and thermal problem
-
4607
-
1510
-
1386
-
1209
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.