IEaxSelectionPadContext.EditDimension

Syntax

EditDimension(FocusedElement: IDimElement);

Parameters

FocusedElement. Dimension element.

Description

The EditDimension method edits dimension which element was selected.

Comments

To get selection in dictionary, use the IEaxSelectionPadContext.DimSelection property.

Example

Executing the example requires a form with the button named Button1 on it, the EaxConfigurationPanel component named EaxConfigurationPanel1 and the UiErAnalyzer component which is installed as data source for EaxConfigurationPanel1. UiErAnalyzer is connected to an express report from repository.

Add a link to the Dimensions system assembly.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    sps: ISystemPadContext;
    Element: IDimElement;
Begin
    sps := EaxConfigurationPanel1.GetActiveContext;
    Element := (sps As IEaxSelectionPadContext).FocusedElement;
    (sps As IEaxSelectionPadContext).EditDimension(Element);
End Sub Button1OnClick;

On the side panel pass to the Selection tab group and selection dimension. Clicking the button opens the Edit Dimension dialog box opens.

See also:

IEaxSelectionPadContext