IAutoCubeSourceDimensionFix.Dimension

Syntax

Dimension: IDimensionModel;

Description

The Dimension property returns the dictionary that corresponds to the fixed automatic cube dimension.

Example

Executing the example requires that the repository contains an automatic cube with the AUTO_CUBE identifier.

Sub UserProc;
Var
    MB: IMetabase;
    AutoCube: IAutoCube;
    Source: IAutoCubeSource;
Begin
    MB := MetabaseClass.Active;
    AutoCube := MB.ItemById("AUTO_CUBE").Bind As IAutoCube;
    Source := AutoCube.Source;
    If Source <> Null Then
        If Source.FixInfo.Count <> 0 Then
            Debug.WriteLine((Source.FixInfo.Item(0).Dimension As IMetabaseObject).Id);
        End If;
    End If;
End Sub UserProc;

After executing the example if the automatic cube has the source cube and the source cube has fixed dimensions, the console displays identifier of the dictionary, on which this dimension is based.

See also:

IAutoCubeSourceDimensionFix