setCheckedAllAttributes(value, fireEvent);
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.
The setCheckedAllAttributes method checks all attributes of the current dimension in the dimension layout dialog box.
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: