Hi, I new how to do this but now I can remember I know it is only a few lines of code. I want to be able to fopen a maya asci file and read lines one by one ( this I can do ) then I want to create a new .ma file and write the lines to it one by one. I am gona edit a few lines in there but that is already working I just need to know how to make an empty ascii file and then write lines(strings) into it. And then save. All this must be mel. Dont want to open the actaul file with maya cause the files need some editing first before I can just open it in maya normaly.
Thanks