IMsProblemDimensionFix.Dimension

Syntax

Dimension(Index: Integer): IDimInstance;

Parameters

Index. Fixed dimension index.

Description

The Dimension property returns the data of fixed dimension, index of which is passed by the Index parameter.

Example

Sub Main;

Var

MB: IMetabase;

Problem: IMsProblem;

Begin

MB := MetabaseClass.Active;

Problem := MB.ItemByIdNamespace("PROBLEM_1", MB.ItemById("KONT_MODEL").Key).Bind As IMsProblem;

For i := 0 To Problem.DimensionFix.Count - 1 Do

Debug.WriteLine(Problem.DimensionFix.Dimension(i).Ident);

End For;

End Sub Main;

After executing the example the identifiers of all fixed dimensions included into variables, the data of which is used for problem calculation with the PROBLEM_1 identifier, are displayed in the console.

See also:

IMsProblemDimensionFix