Levels: IUserDimLevels;
The Levels property returns an object that contains a collection of dictionary levels.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
UsDim: IUserDimension;
Begin
MB:=MetabaseClass.Active;
MObj:=MB.ItemById("USER_DIM").Edit;
UsDim:=MObj As IUserDimension;
UsDim.Levels.Add;
MObj.Save;
End Sub Main;
After executing the example one level in the calculated dictionary is added. Dictionary identifier: USER_DIM.
See also: