how to export ANSI values to txt
I need to calculate a lot of fault level cases, so is there any way to export the output bar ANSI results into a txt or ideally csv file.
Currently I am using the syntax below
recdFN=r"recd.recd"
psspy.alert_output(2,recdFN,[0,0])
psspy.progress_output(2,recdFN,[0,0])
psspy.prompt_output(2,recdFN,[0,0])
Filelist = ['a.sav','b.sav']
for i in Filelist:
psspy.case(i)
psspy.ansi_3([0,0,0,4,0],[ 40.0, 80.0, 40.0, 80.0],1,[45110],[0],[ 1.0],[ 0.02],"")
the output recd file only includes the progress message but no ANSI_3 output message we can see on the screen.
Comments