Hi,
I have a file that includes 3 parts of data as the following:
1) Header: 5 lines of chars.
2) Coordinate Info: All numbers , in the form [ID x y z] , many lines (around 9000 lines).
3) Cell Info: All Numbers, in the form [ID node1 node2 node3 node4] , many lines too.
Also there is a keyword before 2nd and 3rd part (one line of chars).
What I need to do is to change only the 2nd part (Coordinate Info) with new calculated coordinates, that have the exact same structure and size, and leave everything else as it was. Pretty much like opening the file then copy new Coordinate Info over the old Coordinate Info.
Also I want to keep the same file format (file.key) if possible.
What is the faster way to do it?
Thanks in advance.
Best Answer