Item(Index: Integer): IDimensionModel;
Index. Cube dimension index.
The Item property determines a repository dictionary used as a cube dimension.
Executing the example requires a cube with the CUBE_1 identifier.
Sub UserProc;
Var
MB: IMetabase;
CubeModel: ICubeModel;
Dims: ICubeModelDimensions;
i: Integer;
Begin
MB := MetabaseClass.Active;
CubeModel := Mb.ItemById("CUBE_1").Bind As ICubeModel;
Dims := CubeModel.Destinations.DefaultDestination.Dimensions;
For i := 0 To Dims.Count - 1 Do
Debug.WriteLine((Dims.Item(i) As IMetabaseObject).Id);
End For;
End Sub UserProc;
After executing the example the console displays identifiers of all dictionaries that are cube dimensions.
See also: