Hanlin-Dong,
I am still working with the SmartAnalyze function and would like to be able to report in an external file whether SmartAnalyze failed or passed it's analysis. Within SmartAnalyze, this is indicated in the SmartAnalyzeTransient function in the "for seg in range(1, int(npts)+1):" loop.
When I try to open a file and write to it, within this loop, nothing happens. I also, cannot define a global variable and set its value within this loop.
Can you help me with this? Hopefully the image attached below.
Thanks,
Amy

Hanlin-Dong,
I am still working with the SmartAnalyze function and would like to be able to report in an external file whether SmartAnalyze failed or passed it's analysis. Within SmartAnalyze, this is indicated in the SmartAnalyzeTransient function in the "for seg in range(1, int(npts)+1):" loop.
When I try to open a file and write to it, within this loop, nothing happens. I also, cannot define a global variable and set its value within this loop.
Can you help me with this? Hopefully the image attached below.
Thanks,
Amy