DimViewOptionsDialog.setCheckedAllAttributes

Syntax

setCheckedAllAttributes(value, fireEvent);

Parameters

value. Indicates whether all attributes are selected: if this parameter is True, all the attributes in the dialog box are selected, if the parameter is False, the selection is removed.

fireEvent. Determines whether to fire the appropriate event. Optional parameter.

Description

The setCheckedAllAttributes method checks all attributes of the current dimension in the dimension layout dialog box.

Example

Executing the example requires that the HTML page contains the DimViewOptionsDialog component named dimViewOptionsDialog (see Example of Creating the DimViewOptionsDialog Component).  Select all attributes of the current dimension in the dialog box for setting up dimensions layout:

// Select all attributes of the current dimension
dimViewOptionsDialog.setCheckedAllAttributes(True, True);
// Refresh the dialog box
dimViewOptionsDialog.refresh();

After executing the example all dimension attributes are selected:

See also:

DimViewOptionsDialog