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 Main;

Var

MB: IMetabase;

AutoCub: IAutoCube;

Source: IAutoCubeSource;

Begin

MB := MetabaseClass.Active;

AutoCub := MB.ItemById("AUTO_CUBE").Bind As IAutoCube;

Source := AutoCub.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 Main;

After executing the example if the automatic cube has the source cube and the source cube has fixed dimensions, the dictionary identifier that corresponds to the first fixed dimension of the source cube is displayed in the console.

See also:

IAutoCubeSourceDimensionFix