tblobjname
(tblobjname Table_name Symbol_name)
The tblobjname function returns the entity name (Ename) of a given drawing database table entry. The function searches the drawing database table Table_name for Symbol_name and returns the entity name found within the table.
The argument Table_name specifies the valid name of a drawing database symbol table (APPID, BLOCK, GROUP, LTYPE, LAYER, UCS, VIEW, STYLE, DIMSTYLE, VPORT) as a string.
The argument Symbol_name specifies the named object (entry) within the drawing database tables provided by Table_name.
If successful, the function returns the entity name (Ename). Otherwise it returns nil.
Note: You can utilize the returned entity name in further operations in succeeding entget and entmod functions.