IMsMetaModelVisualController.GetVariableByFactor

Syntax

GetVariableByFactor(RubricatorKey: Integer;
                    FactorKey: Integer;
                    GraphMeta: String;
                    Var VariableExists: Boolean;
                    [ParentKey: Integer = -1]): IMsCalculationChainVariable;

Parameters

RubricatorKey. Time series database key

FactorKey. Key of the series.

GraphMeta. Graphical context.

VariableExists. The attribute of the fact that the variable corresponding to the specified series exists in the internal time series database. It is returned after executing the method

ParentKey. Parent element key.

Description

The GetVariableByFactor method returns the variable corresponding to the series from the specified time series database.

Comments

The GraphMeta parameter can take the Null value.

Available values of the VariableExists parameter:

If the ParentKey parameter is set to -1, the variable is in the time series database root.

Example

The method use is given in the example for IMsMetaModelVisualController.HasVariableRubricator.

See also:

IMsMetaModelVisualController