tbldel

(tbldel table_name record)

The tbldel function deletes in a specified table a record specified by the name of the item, but only if the table entry is not referenced in the drawing.

Valid names of table type names are: BLOCK, DIMSTYLE, GROUP, LAYER, LTYPE, STYLE, UCS, and VIEW.

Return Value

If the function succeeds, it returns the name of the deleted record, otherwise nil.

Example

: (tbldel "LAYER" "ABC")

Related Functions

tblpurge