Is This Content Helpful?
How can we make this better? Please provide as much detail as possible.
The AML in this article allows you to convert your link coverages to link files.
/* Convert link coverage to ASCII link file
/* USAGE: &RUN linkcov2file.aml <incover> <outfile>
&args incov outfile
edit %incov% link
&sv numlinks = [show number selected]
/* Open file for writing
&sv outfileunit = [open %outfile% openstat -write]
&if %openstat% <> 0 &then &return Error %openstat% opening file %filename%
/* Loop through all links, check for identity links, write file
&do i = 1 &to %numlinks%
select $recno = %i%
&sv fromxy = [show link [show select 1] from]
&sv toxy = [show link [show select 1] to]
&if %fromxy% = %toxy% &then ~
&ty Identity link - not written to output
/* If identity tics, do not write
&else &sv writestat = [write %outfileunit% %fromxy%,%toxy%]
/* Close write file
&sv x = [close %outfileunit%]
Arc: &RUN linkcov2file.aml mylincov mylinkfile.txt