IRubricator.LightWeight

Syntax

LightWeight: Boolean;

Description

The LightWeight property determines whether to load factors dynamically.

Comments

If LightWeight = True, factors are loaded dynamically (only when the last level of factors tree is expanded). Use the dynamic loading to speed up loading of the factors tree.

Example

Executing the example requires that the repository contains a time series database with the FC identifier. Add links to the Metabase, Cubes system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    RubDes: IMetabaseObject;
    Rub: IRubricator;
Begin
    mb := MetabaseClass.Active;
    RubDes := mb.ItemById("FC").Edit;
    Rub := RubDes As IRubricator;
    Rub.LightWeight := True;
    RubDes.Save;
End Sub UserProc;

After executing the example database time series are loaded dynamically.

See also:

IRubricator