RegenerateTableSuppressed Property

Enables or disables regeneration of the table block.

Example

Signature

object.RegenerateTableSuppressed

object

Table
The object or objects this property applies to.

RegenerateTableSuppressed

Boolean; read-write

TRUE: Regeneration of the table is suppressed.

FALSE: Regeneration of the table is not suppressed.

Remarks

All methods that change the Table object do the following:

  1. Open the Table object in write mode
  2. Modify the Table object based on the input parameters
  3. Close the Table object, which recomputes the Table

Recomputing large tables consumes a lot of time and memory because the Table object is reconstructed from scratch.

To avoid performance problems, you should temporarily disable the regeneration of the Table object when modifying large tables through the VBA APIs, then apply the modifications and re-enable regeneration.

Note To access this property, use the IAcadTable2 interface.

 

   Comments?