TAGGED: #python-#ironpython, ansys-hfss, export-data, export-mesh, pyansys, touchstone
-
-
September 29, 2025 at 3:08 pm
boan.fang
SubscriberHi everyone, I've been trying to write Python codes to let HFSS run and export the touchstone file automatically after analysis completes.
After analysing the setup "Setup_Test_8" and the sweep "Sweep_0to40_Discrete", I can see that the log says "Discrete frequency sweep complete" and "Normal completion of simulation on server".
Â
However, as the export_touchstone function is ran, I get this error:
"Script macro error: Solution data is not available. It was either not solved or was made invalid by subsequent design changes."
Â
I also tried to plot the s-paramter results manually on GUI, but the plot is empty.
Â
I'm not sure what's behind the issue. Please see attached a screenshot of the log and my code related with the exports' part. Do let me know if additional information is required. Thanks in advance!
Â
-
- You must be logged in to reply to this topic.
-
4032
-
1461
-
1308
-
1136
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.