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 OBJ153 identifier. Add links to the Metabase, Cubes system assemblies.
Sub UserProc;
Var
mb: IMetabase;
RubObj: IMetabaseObject;
Rubr: IRubricator;
RubrInst: IRubricatorInstance;
Begin
mb := MetabaseClass.Active;
RubObj := mb.ItemById("OBJ153").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 with OBJ153 identifier will be updated.
See also: