sds_tblobjname

int sds_tblobjname (const char *tblname, const char *this-entity, sds_name entity-name);


Determine the name of the object associated with that symbol.


This function returns the entity name of a specified symbol table entry. The tblobjname function searches the symbol table tblname for entity-name. It returns entity-name of that symbol table entry.

Valid tblnames are:

Table Name Meaning
"appid" Application identification.
"block" Block names.
"dimstyle" Dimension style names.
"layer" Layer names.
"ltype" Linetype names.
"style" Text style names.
"view" View names.
"ucs" UCS names.
"vport" Viewport names.

Default symbol names are:

Symbol Meaning
"CONTINUOUS" Default linetype.
"0" Default layer.
"STANDARD" Default text style.
"STANDARD" Default dimension style.

This function returns an error code, depending on the success or failure of locating the entity name.

NOTE This function is typically used to pass an entity name to the sds_entget and sds_entmod functions.

Tell me about...

Programming Overview of SDS™ (Solutions Development System™)