Platform

Platform

Topics related to optiSLang, HPC, DesignXplorer, Cloud and more.

Ansys ACT Error

    • vipink
      Subscriber

      Hi,

      I have been facing an error for more than a month but could not get a proper fix for it. I am working on Ansys ACT and trying to create an APP. I didn't and doesn't know app builder hence I generated codes separately by writing and running them at console and then copy pasting in the separate python file.

      For checking the XML, i imported my XML and Python file using Options --> Extensions option. When i checked whether the extension is installed, yes it was installed like shown below

    • Aniket
      Forum Moderator
      Ansys employees can not debug user scripts on the forum, but I will try to give you some best practices which may help.nI have not used sublime, so not sure how that works for codes but some other tools have a quick function to convert all leading spaces to tabs or vice versanin python indentation is very important so choose either spaces or tabs as indentation method and stick to itnAlso, make sure if your python file is correctly named as me.py that is stored in a folder which is at the same level of the xml filen-AniketnHow to access Ansys help linksnGuidelines for Posting on Ansys Learning Forumn
    • vipink
      Subscriber
      thank you for your valuable time. nI dont find any issues in the indentations and as per the examples, the python file is not present in the same level as XML file. A separate folder is created and inside that, the python file is stored.n
    • Aniket
      Forum Moderator
      vipink, Folder which contains the py file is at the same level as that of XML file. Not the py file.n-AniketnHow to access Ansys help linksnGuidelines for Posting on Ansys Learning Forumn
    • vipink
      Subscriber
      Ya sorry for that actually. i misread that.nit is in the folder only and it is in the same level of the XML filenMy suspicion is that everything worked well until i created the binary file. once after creating the binary file, this issue started.n
    • vipink
      Subscriber
      n
    • Aniket
      Forum Moderator
      Also, make sure if your python file is correctly named as me.py (as it is indicated in the source in the xml file 2nd line) that is stored in a folder which is at the same level of the xml filen-AniketnHow to access Ansys help linksnGuidelines for Posting on Ansys Learning Forumn
Viewing 6 reply threads
  • The topic ‘Ansys ACT Error’ is closed to new replies.