ade_odmodifytab

AutoCAD Map 3D AutoLISP

Up a level
ade_odmodifytab
 
 

Redefines a table.

(ade_odmodifytab tab_defn)

Returns T or nil.

tab_defn List of table elements: the name of the table you will redefine, a new table description, and a sequence of new field definitions.

The tab_defn argument has the same format as the tab_defn argument in ade_oddefinetab. The entry for this function has source code examples.

For the table you specify in the tab_defn argument, the function replaces the existing table definition with the new one. For every object to which the table is attached, the corresponding fields of each record of the table are replaced. The old fields are deleted, and the new fields are assigned default values in accord with their field definitions.

The ade_odmodifyfield function affects all active drawings in the drawing set. There should not be any queried objects for this operation.

Note  This function will not operate unless your end user has superuser privileges.