Cubes > Cubes Assembly Interfaces > IRubricator > IRubricator.FactAndValuesDimension
FactAndValuesDimension: IDimensionModel;
The FactAndValuesDimension property returns the dimension of time series database attributes.
The dimension of attributes includes attributes of the indicators that are links to the dictionary, and the Value attribute.
Executing the example requires a form, the DimensionTree component named DimensionTree1 on the form and the UiDimension component named UiDimension1 that is a data source for DimensionTree1.
The repository must have a time series database with the TSBD identifier.
Add links to the Cubes and Metabase system assemblies.
Sub UserProc;
Var
mb: IMetabase;
TSDB: IRubricator;
Begin
// Get current repository
MB := MetabaseClass.Active;
// Get time series database
TSDB := MB.ItemById("TSDB").Bind As IRubricator;
// Display dimension of attributes in the DimensionTree1 component
UiDimension1.Dimension := TSDB.FactAndValuesDimension;
UiDimension1.Active := True;
End Sub UserProc;
After executing the example the DimensionTree1 component displays dimension of attributes of time series database.
See also: