DefaultDestination: ICubeModelDestination;
The DefaultDestination property returns default cube display version.
Executing the example requires that the repository contains a cube with the Cube_Sep identifier.
Sub Main;
Var
MB: IMetabase;
Cub: ICubeModel;
Begin
MB := MetabaseClass.Active;
Cub := MB.ItemById("Cube_Sep").Bind As ICubeModel;
Debug.WriteLine(Cub.Destinations.DefaultDestination.Name);
End Sub Main;
After executing the example the console window displays the name of the default display version for the cube with the Cube_Sep identifier.
See also: