Hi
I'm using the print command to write the node and element information into a file. But every time I run OpenSees the node and element information get appended in the file instead of overwriting the file. So I have to manually delete the output file and before I run OpenSees which is not very convenient. How can I get the file to overwrite?
"print" command
Moderators: silvia, selimgunay, Moderators
"print" command
Chinmoy Kolay
PhD Candidate
Department of Civil and Environmental Engineering
Lehigh University
Bethlehem, PA, USA
PhD Candidate
Department of Civil and Environmental Engineering
Lehigh University
Bethlehem, PA, USA
Re: "print" command
you could always do it in the tcl script before the print command using the tcl file delete command
http://wiki.tcl.tk/10058
http://wiki.tcl.tk/10058