AddDimensionEx(Value: IDimensionModel): ICubeModelDimensionEx;
Value. Structure of the dictionary added as a dimension.
The AddDimensionEx method adds a dimension.
Executing the example requires a time series database with the NewCatalog identifier and a repository dictionary with the D_SEP identifier.
Sub UserProc;
Var
Mb: IMetabase;
Rubr: IRubricator;
Begin
Mb := MetabaseClass.Active;
Rubr := MB.ItemById("NewCatalog").Edit As IRubricator;
Rubr.Dimensions.AddDimensionEx(Mb.ItemById("D_SEP").Bind As IDimensionModel);
(Rubr As IMetabaseObject).Save;
End Sub UserProc;
After executing the example the specified dictionary is added to the list of mandatory dimensions of the time series database.
See also: