IModelBox.ParametersSelectionSet

Syntax

ParametersSelectionSet: IDimSelectionSet;

Description

The ParametersSelectionSet property determines element selection in free dimensions of the output variable.

Comments

A dimension is free if each element uses its own calculation method, that is, the Use One Specification checkbox is selected.

To change selection of elements in free dimensions using the custom interface, use the Parameters panel.

Example

Executing the example requires that the repository contains a form with the following:

Add a link to the Dimensions system assembly.

Sub UserParam;
Var
    DimSel: IDimSelection;
Begin
    // Get selection in the first free dimension
    DimSel := ModelBox1.ParametersSelectionSet.Item(0);
    // Reset the current selection
    DimSel.DeselectAll;
    // Select the first element
    DimSel.SelectElement(0False);
    // Save changes
    ModelBox1.SaveObject;
End Sub UserParam;

After executing the example, calculation method will be displayed for the model, which is set for the first element of free dimension.

See also:

IModelBox