IModelBox.ResultsViewSelectionSet

Syntax

ResultsViewSelectionSet: IDimSelectionSet;

Description

The ResultsViewSelectionSet property determines the elements selection of end-to-end dimensions of the output variable.

Comments

A dimension is pass-through if all elements use one calculation method, that is, the Use One Specification checkbox is selected.

To change selection of elements in pass-through dimensions using the custom interface, use the View Results panel.

Example

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

Add a link to the Dimensions system assembly.

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

After executing the example the model will be calculated by the first element in the first pass-through dimension.

See also:

IModelBox