Lists the IDs of all range tables defined in the project.
struct resbuf*
ade_rtlist();
Returns a list of range table IDs or NULL.
You must release the resbuf.
The following sample parses the resbuf returned by ade_rtlist() and prints a list of range tables in the current project. Then it releases the resbuf, as required.
struct resbuf* pRtListRb = NULL;
pRtListRb = ade_rtlist();
if (NULL != pRtListRb) {
int nRangeTables = 0;
struct resbuf* rb = pRtListRb;
while(rb != NULL) {
++nRangeTables;
acutPrintf(
"\nRange table %d has the Id: %.0lf", nRangeTables, rb->resval.rreal);
rb = rb->rbnext;
}
}
else {
acutPrintf(
"\nThere are no range tables in this project.");
}
acutRelRb(pRtListRb);


