tblsearch
(tblsearch table_type item_name [flag] )
The tblsearch function searches the table specified by table_type for the item_name and returns the table item information.
Arguments
table_type specifies the table to be searched. Valid names are: APPID, BLOCK, DIMSTYLE, GROUP, LAYER, LTYPE, STYLE, UCS, VIEW, and VPORT.
item_name specifies the name of the table entry to search.
flag determines whether the next call of the tblnext function returns the next item in the table.
Return Value
If the function succeeds, it returns the table entry described in an association list, otherwise it returns nil.
: (tblsearch "LAYER" "0")
((0 . "LAYER") (2 . "0") (70 . 0) (62 . 1) (6 . "CONTINUOUS"))