# TM1 Function for TI, ​DimensionUpdateDirect

##### Rewrites a dimension that has been edited with Dimension*Direct function(s) (e.g. DimensionElementInsertDirect) to reduce the memory utilised to edit the dimension.

What is the DimensionUpdateDirect function?

DimensionUpdateDirect rewrites a dimension that has been edited with Dimension*Direct function(s) (e.g. DimensionElementInsertDirect) to reduce the memory utilised to edit the dimension.​

Please note that using DimensionUpdateDirect will initially utilise the same amount of memory used by the dimension.

Where can the DimensionUpdateDirect function be used?

TurboIntegrator

What is the syntax for DimensionUpdateDirect?

DimensionUpdateDirect(DimName);

​DimName = Dimension Name

A demonstration on how to use DimensionUpdateDirect

Update the Department dimension.