DimensionUpdateDirect

DimensionUpdateDirect performs a full rewrite of a dimension that has been subject to direct editing in a TurboIntegrator process, essentially compacting the memory footprint of the dimension.

A dimension that undergoes a series of direct-only edits (element deletions, in particular) will eventually use more memory than its fully-rewritten counterpart would. This function can optionally be used after directly editing a dimension with DimensionElementInsertDirect, DimensionElementDeleteDirect, DimensionElementComponentAddDirect, DimensionElementComponentDeleteDirect, and/or DimensionTopElementInsertDirect. Calling DimensionUpdateDirect incurs an initial full-copy memory cost, however it can be used to guarantee that the dimension is at its smallest possible memory footprint after processing is complete.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

DimensionUpdateDirect(DimName);

Argument

Description

DimName

The name of the dimension you want to rewrite.

Example

DimensionUpdateDirect('Region');

This example rewrites the Region dimension.