(tblobjname table-name symbol)


Determine the name of the entity associated with that symbol.


This function returns the entity name of a specified symbol table entry. The tblobjname function searches the symbol table table-name for symbol. It returns the entity name of that symbol table entry. Valid table-names 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.

Example

Code Returns
(tblobjname "VIEW" "ASDF") <Entity name: be6b44>

NOTE  The entity name returned by tblobjname is useful for the entget and entmod functions.

Tell me about...

(tblnext table-name [flag])

(tblsearch table-name symbol [flag])

(vports)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language