1-800-975-iCAD
9:00am to 5:00pm Pacific Time
sds_layoutsearch
sds_layoutsearch
int sds_layoutsearch (const char* layoutname, sds_name entname);
Determine the entity name of a specified layout object.
Given the name of a layout object, the function returns the entity name.
The argument layoutname is the name of the layout object whose entity
name you wish to retrieve.
The argument entname is the entity name returned for the given layout
object name.
The function returns RTNORM if successful; otherwise, it returns RTERROR.
Example
sds_name entname1;
sds_name_clear(entname1);
struct sds_resbuf *entlist = NULL;
// Find Layout1
if (sds_layoutsearch("Layout1", entname1) == RTNORM)
{
// Get the entity data
entlist = sds_entget(entname1);
// Release the resbuf
if (entlist != NULL)
sds_relrb(entlist);
}
Tell me about...
Programming Overview
of SDS (Solutions Development System)
sds_layoutgetcur
sds_layoutmake
sds_layoutsetcur
|
|
|