(tblsearch table-name symbol [flag])


Search the table for a symbol.


This function obtains information about a known symbol from a drawing table-name. After entering in the table-name argument and the known symbol name, a list is returned containing dotted pairs for the symbol.

The flag (when set non-nil, such as T) lets the tblnext function retrieve the next item in the table:

(tblsearch "layer" "0" T)

(tblnext "LAYER")

The list returned is exactly like that returned from tblnext.

Example

Code Result
(tblsearch "layer" "0") ((0 . "LAYER") (2 . "0") (70 . 0)
(62 . 7) (6 . "CONTINUOUS"))

Tell me about...

(entget entity-name [application-list])

(tblobjname table-name symbol)

(vports)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language