RefreshDimensions;
The RefreshDimensions method refreshes dimensions of opened instance of time series database.
Executing the example requires that the repository contains a time series database with the OBJ_RUBRICATOR identifier.
Add links to the Cubes and Metabase system assemblies.
Sub UserProc;
Var
Mb: IMetabase;
RubObj: IMetabaseObject;
Rubr: IRubricator;
RubrInst: IRubricatorInstance;
Begin
Mb := MetabaseClass.Active;
RubObj := Mb.ItemById("OBJ_RUBRICATOR").Edit;
Rubr := RubObj As IRubricator;
RubrInst := RubObj.Open(Null) As IRubricatorInstance;
RubrInst.RefreshDimensions;
End Sub UserProc;
After executing the example the dimensions of the time series database are updated.
See also: