tblpurge

(tblpurge table_name flag)

The tblpurge function purges an entire table of the specified type and deletes all not referenced entries.

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

If the argument flag is not nil, a list of purged table entries is displayed in the Command Window.

Return Value

If no referenced entries are purged, the function returns T, if not nil.

Example

: (tblpurge "LAYER" 1)

Related Functions

tbldel