|
Hello
Bob,
One
way to do this is to call the SymbLST_DB function to get a list of DB_SYMB_LINE
objects, sort the list of lines using Sort_LST, then go through the list in
order. You get the line symbol from the value part of the LST as a number
string and cast the converted value to a line symbol to get the line, something
like (untested):
hLST =
Create_LST(127);
SymbLST_DB(hDB,hLST,DB_SYMB_LINE);
Sort_LST(hLST,0,0);
iLines
= iSize_LST(hLST);
for
(iLine=0;iLine<iLines;iLine++) {
GetItem_LST(hLST,1,iLine,sLine)
hLine =
(DB_SYMB)iScan_STR(sLine);
...
}
Regards,
Ian
_______________
Software and services for effective
earth science decision-making.
|
- [geonet]: Lines extracted in random order? Ellis, Robert RG
- Ian MacLeod
