-
-
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
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- simulation completed with execution error on server
- Maxwell, HFSS or Q3D?
- Unable to assign correctly the excitations in a coil
- How to export Ansys Maxwell simulation results for post-processing in matlab or in .csv file
- Intersect errors with model with complex structure
- Running ANSYS HFSS on the HPC (it runs on Linux only)
- Process ‘3dtds’ terminated abnormally
- Error while solving Optimetrics
- Error
- Concept of Interpolation Sweep in HFSS
-
7676
-
4476
-
2957
-
1433
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.