Lists the tables in the drawing set.
struct resbuf*
ade_odtablelist();
Returns a list of table names (string) or NULL.
You must release the resbuf.
The following sample parses the resbuf returned by ade_odtablelist() and prints a list of object data tables in the current drawing. Then it releases the resbuf, as required.
struct resbuf* pOdTableListRb = NULL; pOdTableListRb = ade_odtablelist(); if (NULL != pOdTableListRb) { acutPrintf( "\nThe current drawing contains the following Object Data tables:"); int nOdTables = 0; struct resbuf* rb = pOdTableListRb; while(rb != NULL) { ++nOdTables; acutPrintf( "\nObject data table %d is named: %s" ,nOdTables, rb->resval.rstring); rb = rb->rbnext; } } else { acutPrintf( "\nThere are no object data tables in this project."); } acutRelRb(pOdTableListRb);