Issue with Exporting Field Results Using PyAEDT #5182
Replies: 6 comments 1 reply
-
Hi @chamanth-vct , |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response. From the GUI, the
Also, thank you for the information regarding the differences between Thank you |
Beta Was this translation helpful? Give feedback.
-
Which AEDT versiona re you using? This examples works: And unit tests are passing, so it has to be something related to your project. Please share it if you do not find a solution. .case is an Ansys Ensight format, that you can load into Ansys Ensight or PyVista. I think the documentation is wrong, and the available formats are .case and fldplt. Both contains the field values and node position, but with different formats. |
Beta Was this translation helpful? Give feedback.
-
@chamanth-vct You should first run it in graphical mode, I saw that the plot was not correct: I think there is a bug, but I need further investigation. |
Beta Was this translation helpful? Give feedback.
-
Thank you for acknowledging the bug and starting the investigation. In the meantime, I’d like to ask if you could provide some insight into the types of models or scenarios where this issue might occur. We’re encountering this error with a large number of files but haven't been able to identify any clear pattern in these occurrences. If you could help us by outlining potential scenarios or model characteristics that might trigger this issue, it would be a great help. Thank you again for your support. |
Beta Was this translation helpful? Give feedback.
-
This issue is resolved. |
Beta Was this translation helpful? Give feedback.
-
Hi
I am encountering an issue when trying to export field results into a file using the PyAEDT package. The following error message is displayed:
PyAEDT ERROR: case file format is not supported for this plot.
I was able to reproduce the issue with the following code and the sample file (link to download).
In this code, I am attempting to export the H vector field for each object (part). There are 10 parts in total, and the code works fine for 4 of them. However, for the remaining 6 parts, the above error is thrown as shown in the log below:
However, I can successfully export the H-field data for these specific parts using the GUI. The issue only arises when automating the process through PyAEDT.
Could anyone assist me in resolving this issue? Any insights or suggestions would be greatly appreciated.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions