Back to The Complete Knuckleheads Guide

TO CREATE THE VERTICAL ALIGNMENT with an ASCII file and COGO

The syntax for creating an ASCII text file to load into COGO appears below:

STORE PROFILE VERT2
VPI  1 S 10000 E 2259.54
VPI  2 S 10517 E 2274 L  300
VPI  3 S 10871 E 2263 L  200
VPI  4 S 11198 E 2284 L  200
VPI  5 S 11612 E 2284 L  150
VPI  6 S 11742 E 2279 L  100
VPI  7 S 11976 E 2282 L  290
VPI  8 S 12395 E 2279 L  150
VPI  9 S 12574 E 2267 L  150
VPI 10 S 12931 E 2263 L  137
VPI 11 S 13077 E 2252 L  155
VPI 12 S 13230 E 2250.97
END PROFILE

Create an ASCII text file similar in format to one shown above and save the file with the traditional COGO naming convention, where the name of the file ends with the job number and the extension ends with .i(operator code).  For example I want to load this file into job123.gpk and my operator code is SP.  I'm saving the file as ASCII123.iSP.  I could have named the first part of the name (ASCII) anything, but in order for the GPK file to see the file, it must end as described, [name]123.i[oc]
NOTE:  Always press ENTER at the end of the last line of the ASCII file (to leave a blank line at the bottom).  For example, press ENTER after typing END PROFILE.


Invoke COGO and load the input file as shown below.  Use the COGO pulldowns, File > Load and select the file, press OK.


The file is still only in memory.  To read and process and store the profile, use the COGO pulldowns, Edit > Read All.


The Profile "VERT2" is now stored into the GPK file as shown below:



Back to The Complete Knuckleheads Guide