Electronics

Electronics

Topics relate to HFSS, Maxwell, SIwave, Icepak, Electronics Enterprise and more

python-hfss error

    • yu jian
      Subscriber

      When I was controlling hfss with Python, the following error occurred.
      Script macro error: testing featurre is NOT enabled.

      thank you.

    • Praneeth
      Forum Moderator

      Hi,

      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.

    • JS
      Ansys Employee

      Please 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

       

       

       

       

       

       

Viewing 2 reply threads
  • The topic ‘python-hfss error’ is closed to new replies.